It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
// Sign the transaction with keyPair of Sender
for (var i in transHashesNeeded){
tx.sign(parseInt(i), keyPair);
}
var transactionHex = tx.build().toHex()
// Request current BTC Price for $ & €
var decodedHex;
$.ajax({
url: "http://btc.blockr.io/api/v1/tx/decode",
type: "post",
data: {
hex: transactionHex
},
success: function(response) {
decodedHex = response;
document.getElementById('baseDiv').innerHTML += "
Decoded Hex: " + JSON.stringify(response);
$.ajax({
url: "http://btc.blockr.io/api/v1/tx/push",
type: "post",
contentType: "application/json; charset=utf-8",
dataType: "json",
data: JSON.stringify({
hex: transactionHex
}),
success: function(response) {
console.log("Transaction pushed. " + response);
},
error: function(xhr) {
console.log(this);
console.log("Failed to Push: " + xhr.responseText);
console.log("Transaction Hash: " + transactionHex);
console.log("This is pushed: " + this.data);
}
});
},
error: function(xhr) {
console.log("Failed to decode Hex. -> " + xhr);
}
});
}
});
Objectaccepts: Objectasync: truecontentType: "application/json; charset=utf-8"contents: Objectconverters: ObjectcrossDomain: truedata: "{"hex":"0100000001329e495a5e7dbb619ca84b3f1bc9ee0cca279f538b7ea0513a33be5ed46fe370000000006a473044022075b6372ed5febf7724613eddf7207fb5ed7b60b8c3f8d2cb77e76248c1f2daf102206edef165631bdf8455a5b486c0f7189ed80719c5ec726dccdecf3564fd59ae7901210250a251bd8365ee73a91fe09cb3477b400841c158a59874a8b041e7dff48412e5ffffffff0280969800000000001976a9142ca0f264fcffd0ceb34b109e1403a11ecacd73b288ac17db6d07000000001976a914251fafe412cdd9d4f32aabb8ea8858a97203016588ac00000000"}"dataType: "json"dataTypes: Array[2]error: (xhr)flatOptions: Objectglobal: truehasContent: trueisLocal: falsejsonp: "callback"jsonpCallback: ()processData: trueresponseFields: Objectsuccess: (response)type: "POST"url: "http://btc.blockr.io/api/v1/tx/push"xhr: ()__proto__: Object
(index):170 Failed to Push: {"status":"fail","data":"Could not push your transaction!","code":500,"message":"Did you sign your transaction?"}
(index):171 Transaction Hash: 0100000001329e495a5e7dbb619ca84b3f1bc9ee0cca279f538b7ea0513a33be5ed46fe370000000006a473044022075b6372ed5febf7724613eddf7207fb5ed7b60b8c3f8d2cb77e76248c1f2daf102206edef165631bdf8455a5b486c0f7189ed80719c5ec726dccdecf3564fd59ae7901210250a251bd8365ee73a91fe09cb3477b400841c158a59874a8b041e7dff48412e5ffffffff0280969800000000001976a9142ca0f264fcffd0ceb34b109e1403a11ecacd73b288ac17db6d07000000001976a914251fafe412cdd9d4f32aabb8ea8858a97203016588ac00000000
(index):172 This is pushed: {"hex":"0100000001329e495a5e7dbb619ca84b3f1bc9ee0cca279f538b7ea0513a33be5ed46fe370000000006a473044022075b6372ed5febf7724613eddf7207fb5ed7b60b8c3f8d2cb77e76248c1f2daf102206edef165631bdf8455a5b486c0f7189ed80719c5ec726dccdecf3564fd59ae7901210250a251bd8365ee73a91fe09cb3477b400841c158a59874a8b041e7dff48412e5ffffffff0280969800000000001976a9142ca0f264fcffd0ceb34b109e1403a11ecacd73b288ac17db6d07000000001976a914251fafe412cdd9d4f32aabb8ea8858a97203016588ac00000000"}
$.ajax({
url: "http://btc.blockr.io/api/v1/tx/push",
type: "post",
contentType: "application/json; charset=utf-8",
dataType: "json",
data2: {
hex: transactionHex
},
success: function(response) {
console.log("Transaction pushed. " + response);
},
error: function(xhr) {
console.log("Failed to Push: " + xhr.responseText);
console.log("Transaction Hash: " + transactionHex);
console.log("This is pushed: " + JSON.stringify(this.data2));
}
});
This is pushed: "{\"hex\":\"010000000194bacfdc39a29fb55269ff2e1bf91140bf3d08efa943b6c8c131a059c15ec23f01000000694630430220691210387a5a5897afedf546e42a482265b2be96ba36f5e2624168f4d94df8d7021f587c9b670089d81f0aee897364aa6e3320f0a9235e5f70924bbaee287f0f6d01210250a251bd8365ee73a91fe09cb3477b400841c158a59874a8b041e7dff48412e5ffffffff0280969800000000001976a9142ca0f264fcffd0ceb34b109e1403a11ecacd73b288ac00b7ef08000000001976a914251fafe412cdd9d4f32aabb8ea8858a97203016588ac00000000\"}"
using (HttpClient client = new HttpClient())
{
string hex = "010000000194bacf......";
string Json = "{\"hex\":\"" + hex + "\"}";
string url = "http://btc.blockr.io/api/v1/tx/push";
HttpContent content = new StringContent(Json);
content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json");
var respond = await client.PostAsync(url, content);
var result = await respond.Content.ReadAsStringAsync();
}
var transactionHex = tx.build().toHex()
// Request current BTC Price for $ & €
var decodedHex;
$.ajax({
url: "http://btc.blockr.io/api/v1/tx/decode",
type: "post",
data: {
hex: transactionHex
},
success: function(response) {
decodedHex = response;
console.log(decodedHex);
pushHex = JSON.stringify(decodedHex.data.tx);
pushHex2 = JSON.parse(pushHex);
document.getElementById('baseDiv').innerHTML += "
Decoded Hex: " + JSON.stringify(response);
$.ajax({
url: "https://testnet-api.smartbit.com.au/v1/blockchain/pushtx",
type: "post",
data2: {
hex: transactionHex
},
success: function(response) {
console.log("Transaction pushed. " + response);
},
error: function(xhr) {
console.log("Failed to Push: " + xhr.responseText);
console.log("Transaction Hash: " + transactionHex);
console.log("This is pushed: " + JSON.stringify(this.data2));
}
});
},
error: function(xhr) {
console.log("Failed to decode Hex. -> " + xhr);
}
});
{"hex":"010000000194bacfdc39a29fb55269ff2e1bf91140bf3d08efa943b6c8c131a059c15ec23f01000000694630430220691210387a5a5897afedf546e42a482265b2be96ba36f5e2624168f4d94df8d7021f587c9b670089d81f0aee897364aa6e3320f0a9235e5f70924bbaee287f0f6d01210250a251bd8365ee73a91fe09cb3477b400841c158a59874a8b041e7dff48412e5ffffffff0280969800000000001976a9142ca0f264fcffd0ceb34b109e1403a11ecacd73b288ac00b7ef08000000001976a914251fafe412cdd9d4f32aabb8ea8858a97203016588ac00000000"}
POST http://btc.blockr.io/api/v1/tx/push 400 (Bad Request)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
success @ (index):159
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
z @ jquery.min.js:4
(anonymous) @ jquery.min.js:4
(index):169 Failed to Push: {"status":"error","data":"TX is missing","code":400,"message":"Please see API documentation on how to POST tx hex as json."}
(index):170 Transaction Hash: 010000000194bacfdc39a29fb55269ff2e1bf91140bf3d08efa943b6c8c131a059c15ec23f01000000694630430220691210387a5a5897afedf546e42a482265b2be96ba36f5e2624168f4d94df8d7021f587c9b670089d81f0aee897364aa6e3320f0a9235e5f70924bbaee287f0f6d01210250a251bd8365ee73a91fe09cb3477b400841c158a59874a8b041e7dff48412e5ffffffff0280969800000000001976a9142ca0f264fcffd0ceb34b109e1403a11ecacd73b288ac00b7ef08000000001976a914251fafe412cdd9d4f32aabb8ea8858a97203016588ac00000000
(index):171 This is pushed: {"hex":"010000000194bacfdc39a29fb55269ff2e1bf91140bf3d08efa943b6c8c131a059c15ec23f01000000694630430220691210387a5a5897afedf546e42a482265b2be96ba36f5e2624168f4d94df8d7021f587c9b670089d81f0aee897364aa6e3320f0a9235e5f70924bbaee287f0f6d01210250a251bd8365ee73a91fe09cb3477b400841c158a59874a8b041e7dff48412e5ffffffff0280969800000000001976a9142ca0f264fcffd0ceb34b109e1403a11ecacd73b288ac00b7ef08000000001976a914251fafe412cdd9d4f32aabb8ea8858a97203016588ac00000000"}
{
"hex":{
"txid":"3fc25ec159a031c1c8b643a9ef083dbf4011f91b2eff6952b59fa239dccfba94",
"size":226,
"version":1,
"locktime":0,
"vin":[
{
"txid":"97cf8b040250cee0b30ea61bd2dbbc2425a4b50231477bd8e459ada9e2a98ab2",
"vout":1,
"scriptSig":{
"asm":"3045022100c7d4fcfa0b8880766e1ef89516236667be59c1a087702df263515a40f84f51b502205f84c36551bf8ad8a3a54e715241181b835720d56d6b5816b172409dd4bab1e3[ALL] 0250a251bd8365ee73a91fe09cb3477b400841c158a59874a8b041e7dff48412e5",
"hex":"483045022100c7d4fcfa0b8880766e1ef89516236667be59c1a087702df263515a40f84f51b502205f84c36551bf8ad8a3a54e715241181b835720d56d6b5816b172409dd4bab1e301210250a251bd8365ee73a91fe09cb3477b400841c158a59874a8b041e7dff48412e5"
},
"sequence":4294967295
}
],
"vout":[
{
"value":0.1,
"n":0,
"scriptPubKey":{
"asm":"OP_DUP OP_HASH160 2ca0f264fcffd0ceb34b109e1403a11ecacd73b2 OP_EQUALVERIFY OP_CHECKSIG",
"hex":"76a9142ca0f264fcffd0ceb34b109e1403a11ecacd73b288ac",
"reqSigs":1,
"type":"pubkeyhash",
"addresses":[
"154yYDzR6NXTrGyaZnM6d8zpB9PiDBjGGG"
]
}
},
{
"value":1.5994576,
"n":1,
"scriptPubKey":{
"asm":"OP_DUP OP_HASH160 251fafe412cdd9d4f32aabb8ea8858a972030165 OP_EQUALVERIFY OP_CHECKSIG",
"hex":"76a914251fafe412cdd9d4f32aabb8ea8858a97203016588ac",
"reqSigs":1,
"type":"pubkeyhash",
"addresses":[
"14PHxkkBb3PxFGNPBiWTWKKiYSA7xWJgC7"
]
}
}
]
}
}
{
"Version":"1",
"LockTime":"0",
"Vin":[
{
"TxId":"97cf8b040250cee0b30ea61bd2dbbc2425a4b50231477bd8e459ada9e2a98ab2",
"Vout":"1",
"ScriptSig":{
"Asm":"3045022100c7d4fcfa0b8880766e1ef89516236667be59c1a087702df263515a40f84f51b502205f84c36551bf8ad8a3a54e715241181b835720d56d6b5816b172409dd4bab1e3[ALL] 0250a251bd8365ee73a91fe09cb3477b400841c158a59874a8b041e7dff48412e5",
"Hex":"483045022100c7d4fcfa0b8880766e1ef89516236667be59c1a087702df263515a40f84f51b502205f84c36551bf8ad8a3a54e715241181b835720d56d6b5816b172409dd4bab1e301210250a251bd8365ee73a91fe09cb3477b400841c158a59874a8b041e7dff48412e5"
},
"CoinBase":null,
"TxInWitness":null,
"Sequence":"4294967295"
}
],
"Vout":[
{
"Value":0.1,
"N":0,
"ScriptPubKey":{
"Asm":"OP_DUP OP_HASH160 2ca0f264fcffd0ceb34b109e1403a11ecacd73b2 OP_EQUALVERIFY OP_CHECKSIG",
"Hex":"76a9142ca0f264fcffd0ceb34b109e1403a11ecacd73b288ac",
"ReqSigs":1,
"Type":"pubkeyhash",
"Addresses":[
"mjavqH5PuPxidPTCHMKUT4D938zR7kat3R"
]
}
},
{
"Value":1.5994576,
"N":1,
"ScriptPubKey":{
"Asm":"OP_DUP OP_HASH160 251fafe412cdd9d4f32aabb8ea8858a972030165 OP_EQUALVERIFY OP_CHECKSIG",
"Hex":"76a914251fafe412cdd9d4f32aabb8ea8858a97203016588ac",
"ReqSigs":1,
"Type":"pubkeyhash",
"Addresses":[
"miuFFoqAQ4qD2NqzuHUqLEY3QRkptMcHMu"
]
}
}
],
"TxId":"3fc25ec159a031c1c8b643a9ef083dbf4011f91b2eff6952b59fa239dccfba94"
}
Failed to push transaction. -> {"status":"error","data":"TX is missing","code":400,"message":"Please see API documentation on how to POST tx hex as json."}
$.ajax({
url: "http://btc.blockr.io/api/v1/tx/decode",
type: "post",
data: {
hex: transactionHex
},
success: function(response) {
decodedHex = response;
console.log(decodedHex);
document.getElementById('baseDiv').innerHTML += "
Decoded Hex: " + transactionHex;
},
error: function(xhr) {
console.log("Failed to decode Hex. -> " + xhr);
}
});
$.ajax({
url: "http://btc.blockr.io/api/v1/tx/push",
type: "post",
data: {
hex: decodedHex
},
success: function(response) {
console.log("Transaction pushed. " + response);
},
error: function(xhr) {
console.log("Failed to push transaction. -> " + xhr.responseText);
}
});