4

For example, here is the output of an API I hit with one of my testnet UTXOs. What is the meaning of the index field in this context ?

"utxo":[
    {
        "block_id":1899516,
        "transaction_hash":"14272c8d1be80d57f122ee336a7da655c1443cf6f95a7cfdfad2a1163b2d1247",
        "index":0,
        "value":1943034
    }
]
4

It is the position of your txo in the outputs array of the transaction that created it. You can see that this transaction created 2 outputs and that your output is the first one (0).
This index is also sometimes refer to as vout.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.