Bitcoin Forum
October 03, 2025, 06:14:21 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Web Wallets / Blockchain.info vs. Biteasy API on: April 28, 2014, 01:47:22 PM
I am trying to redeem a multisig transaction using the bitcore.io library (signing client side in the browser). I need the unspent outputs to to do so. Both Blockchain.info and Biteasy.com have an unspent outputs endpoint:

BLOCKCHAIN.INFO: https://blockchain.info/unspent?active=3CmmhMciChAx4FtGxHtYppoPBLpRLcBy1H
Code:
"tx_hash": "db29f6a52fa09bf852cefd514fdd71027894f2b19f6fc752cb5e001dc323079e",
"tx_index": 54805310,
"tx_output_n": 0,
"script": "a914798f9646eb0c7efdd33eaf019a35fc6e37bffb4287",
"value": 100000,
"value_hex": "0186a0",
"confirmations": 1369

BITEASY: https://api.biteasy.com/blockchain/v1/addresses/3CmmhMciChAx4FtGxHtYppoPBLpRLcBy1H/unspent-outputs
Code:
"transaction_hash": "9e0723c31d005ecb52c76f9fb1f294780271dd4f51fdce52f89ba02fa5f629db",
"script_pub_key": "HASH160 [798f9646eb0c7efdd33eaf019a35fc6e37bffb42] EQUAL",
"to_address": "3CmmhMciChAx4FtGxHtYppoPBLpRLcBy1H",
"value": 100000,
"transaction_index": 0,
"is_spent": 0,
"script_sent_type": "PAY_TO_HASH"

I understand there are small differences between the 2 APIs but... they seem to differ heavily.

  • The tx_hash (db29...) and transaction_hash (9e07...) are not the same?!
  • The tx_index (5480...) and transaction_index (0) are not even close (guess the transaction_index from Biteasy matches with the tx_output_n (0) from Blockchain but if so, what is the tx_index (0))?
  • The script (a914...) and script_pub_key (HASH...)  are in a different format (guess you can encode one in the other)?

Do they simply use different ways to present the same data or is the data different between the two?
2  Bitcoin / Development & Technical Discussion / Second signature in multisig on: April 22, 2014, 10:23:15 AM
Trying to understand the following:

I signed a 2-3 multisig raw transaction and sent the signed hash to the counter-party. The counter-party will sign with their private key and send the transaction to the network.

As far as I understand it the counter-party will need to include the unspent outputs to the signrawtransaction RPC command like I had to do the first time (the hash I signed is not enough, is it?). Now, how does the counter-party know which unspent outputs to include? I suppose the counter-party needs the same outputs as me and he might pick different ones or pick a different fee. Am I supposed to send him the signed hash and the transaction array I used to sign it the first time (including the redeemScript)?

Thanks!
3  Local / Meetings (Nederlands) / Re: Bitcoin Meet Gent - dinsdag 25 februari vanaf 19:30 on: February 11, 2014, 12:34:31 PM
Hey Bitcoin Gentenaars,

Ik ben bezig een overzicht te maken van alle Bitcoin meetups in België. Zie: http://meetups.bitcoinassociation.be/

Heb net de Bitcoin Meet Gent toegevoegd. Laat me zeker iets weten als jullie weet hebben van andere Bitcoin meetups!

Bedankt.
4  Bitcoin / Meetups / Re: Meetup in Antwerp - Belgium on: February 11, 2014, 12:12:13 PM
It seems we have 2 Bitcoin meetups in Antwerp. There is the one announced in this thread and another one at http://www.meetup.com/Bitcamp/. Maybe we can merge the 2 meetups in one? I am collecting all the Belgian meetups at http://meetups.bitcoinassociation.be/ to make it easier for people to find one nearby.
5  Other / Beginners & Help / Re: newbies! on: August 01, 2013, 11:25:50 AM
www.cryptocoincharts.info has some, not all, altcoins but it's nice to see their relative values.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!