Get UTXO of Transaction

GET {{baseUrl}}/v3/scrypta/utxo/:hash/:index

1 credit per API call.


Get UTXO of given transaction and output index. UTXO means Unspent Transaction Output, which is in blockchain terminology assets, that user received on the concrete address and does not spend it yet.
In scrypta-like blockchains (LYRA, LTC, BCH), every transaction is built from the list of previously not spent transactions connected to the address. If user owns address A, receives in transaciont T1 10 LYRA, he can spend in the next transaction UTXO T1 of total value 10 LYRA. User can spend multiple UTXOs from different addresses in 1 transaction.
If UTXO is not spent, data are returned, otherwise 404 error code.

RESPONSES

status: OK

{"txid":"8f227111c1f807b0bd3b05c0fe9d722f75571b3a80c873f1573f976c63eddcf4","vout":2,"amount":5.265,"scriptPubKey":"76a91489d3d564f322dee485e3f38a332fa3f63cb641a588ac","block":1025140}