Parameters
- txidstringREQUIRED
The transaction id
- nintegerREQUIRED
Vout number
- include_mempoolboolean
Whether to include the mempool. Default: true. Note that an unspent output that is spent in the mempool won't appear.
Returns
- resultobject | null
UTXO details, or null if the output is spent or does not exist
- bestblockstring
The hash of the block at the tip of the chain
- confirmationsinteger
The number of confirmations
- valuenumber
The transaction value in ZEC
- scriptPubKeyobject
A JSON object containing information about the PubKey script
- asmstring
The script public key
- hexstring
The hex of the script's public key
- reqSigsinteger
The number of required signatures
- typestring
The type of script (e.g., pubkeyhash, scripthash)
- addressesarray
An array of Zcash addresses associated with this output
- addressstring
A Zcash transparent address
- versioninteger
The transaction version
- coinbaseboolean
Whether the transaction is a coinbase
Request
Response
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"bestblock": "0000000000998e72deba8744e77d0ad36667e8de0615c5eec17bcae469b32132",6"confirmations": 5,7"value": 1.25,8"scriptPubKey": {9"asm": "OP_DUP OP_HASH160 0d87ca39eb9cabbfdb6c91de1baab82a7addca7f OP_EQUALVERIFY OP_CHECKSIG",10"hex": "76a9140d87ca39eb9cabbfdb6c91de1baab82a7addca7f88ac",11"reqSigs": 1,12"type": "pubkeyhash",13"addresses": [14"t1K79TgQbqu74d6rBmsMu2oFEXEwAmdYiT7"15]16},17"version": 5,18"coinbase": true19}20}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"bestblock": "0000000000998e72deba8744e77d0ad36667e8de0615c5eec17bcae469b32132",6"confirmations": 5,7"value": 1.25,8"scriptPubKey": {9"asm": "OP_DUP OP_HASH160 0d87ca39eb9cabbfdb6c91de1baab82a7addca7f OP_EQUALVERIFY OP_CHECKSIG",10"hex": "76a9140d87ca39eb9cabbfdb6c91de1baab82a7addca7f88ac",11"reqSigs": 1,12"type": "pubkeyhash",13"addresses": [14"t1K79TgQbqu74d6rBmsMu2oFEXEwAmdYiT7"15]16},17"version": 5,18"coinbase": true19}20}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free