v1

latestOpenAPI 3.1.02026-07-243035381.4 MB
Blockchains API

Get UTXO info by tx hash and index

/v4/data/blockchains/utxo/info

10 credits per API call

Get information about a transaction output (UTXO) by transaction hash and output index. Supported for Bitcoin, Litecoin, Dogecoin, and Bitcoin Cash. Response is normalized: value in smallest unit (satoshis), address, script, hash, index, and height (block height; for mempool/unconfirmed UTXOs, height is -1). If the output is spent, the API returns 403.

get/v4/data/blockchains/utxo/info

Query parameters

chain'bitcoin-mainnet' | 'bitcoin-testnet' | 'litecoin-mainnet' | 'litecoin-testnet' | 'doge-mainnet' | 'dogecoin-testnet' | 'bch-mainnet' | 'bch-testnet' required

UTXO chains supported for GET blockchains/utxo/info.

Example:bitcoin-mainnet

UTXO blockchain (bitcoin-mainnet, bitcoin-testnet, litecoin-mainnet, litecoin-testnet, dogecoin-mainnet, dogecoin-testnet, bch-mainnet, bch-testnet).

hashstring required
Example:cfe764afba737c7b1e8838c8e0f66ad2ad0b96b3d80b49561faad59f072eb11e

Transaction hash.

indexinteger required
Example:1

Output index (vout) in the transaction.

Response

OK

valueinteger required

Value in smallest unit (satoshis for BTC/LTC/DOGE/BCH).

addressstring required

Output address.

scriptstring required

Script hex.

hashstring required

Transaction hash.

indexinteger required

Output index (vout) in the transaction.

heightinteger required

Block height. For mempool (unconfirmed) UTXOs, height is -1.