bitcoind json API (gettx/raw) (newbie questions #2) [combined summary]



Individual post summaries: Click here to read the original discussion on the bitcoin-dev mailing list

Published on: 2014-02-18T08:17:15+00:00


Summary:

The sender of the email is seeking clarification on the gettx / getrawtransaction (decoded) API call and its vout array in the scriptPubKey.addresses array. They are specifically interested in understanding why the information is typed as an array when it typically only contains one address. The sender wonders if there are any cases where the array may contain more or fewer than one address, or if it is designed this way to allow for future extensibility.Additionally, the sender questions the importance of the address in spending coins, suggesting that owning the public/private key contained in the vout script is what matters. They mention their project to calculate unspent outputs and balances for all accounts and express uncertainty about any special cases that need to be considered in order to produce accurate data.In the email, the sender recommends checking out coinb.in/multisig and abis.io, although it is not clear how these resources relate to their inquiries.Overall, the sender seeks assistance in understanding the nuances of the API call and ensuring that their project accurately handles any special cases in the blockchain.


Updated on: 2023-08-01T07:39:53.184259+00:00