gettxout

Returns details about an unspent transaction output (UTXO), optionally including mempool data.

⚠ This endpoint is only available with Blast access.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
txidstringRequiredformat: "^[a-fA-F0-9]{64}$"
The transaction ID.
nintegerRequired
The vout number.
include_mempoolbooleanOptionalDefaults to true
Whether to include outputs spent in the mempool. Default is true.

Response

Details about the specified unspent output, or null if not found.
bestblockstring or nullformat: "^[a-fA-F0-9]{64}$"

A 64-character hex string representing the block hash.

confirmationsinteger or null
Number of confirmations for the transaction.
valuedouble or null
The amount in BTC.
scriptPubKeyobject or null
The public key script info.
coinbaseboolean or null
True if the output is from a coinbase transaction.