Parameters
The transaction id
Default 0. 0 for hex-encoded data, 1 for JSON object
The block in which to look for the transaction
Returns
Response when verbose is 0. The JSON-RPC body includes result (hex-encoded serialized transaction), error, and id.
The serialized, hex-encoded transaction data
JSON-RPC error object when the request failed, or null on success
The JSON-RPC request identifier
Response when verbose is 1 (the default). The JSON-RPC body includes result (decoded transaction object), error, and id.
The transaction object
The transaction id
The transaction hash
The transaction version
The transaction size
The transaction locktime
A JSON array. Each element in the array serves as a transaction's input vector (vin).
The transaction id
The output number
The script's signature
The script's public key in the form of a string
The hex-encoded witness data
The sequence number of the script
A JSON array containing tx information
The value in BTC
The output index
A JSON object containing information about the PubKey script
The script public key in the form of string
The hex of the script's public key in string format
Number of required signatures
The type of script, e.g. pubkeyhash, multisig
Array of Bitcoin Cash addresses
The serialized, hex-encoded transaction data
The block hash
The number of confirmations
The block time expressed in UNIX epoch time
Same as time
JSON-RPC error object when the request failed, or null on success
The JSON-RPC request identifier
1{2"result": {3"txid": "a7cf70e0152b45651928ef3feb381d21e94e8bd4c53757cabf485eaff58125ed",4"hash": "a7cf70e0152b45651928ef3feb381d21e94e8bd4c53757cabf485eaff58125ed",5"version": 1,6"size": 374,7"locktime": 0,8"vin": [9{10"txid": "8af0cad7bbd319d945c00c68bc7a43f0e43d142a36bba7726b68633f0745553b",11"vout": 0,12"scriptSig": {13"asm": "3045022100b471cc71a02556bb1f14298c3b7bb6019e408c78bd6512a1bccfbda30b53cf5302200d3892b80c03fa3d75f67a0e69d23771c33773100dfe6bed0748ceca94bd916b[ALL|FORKID] 02b4eb67413b4026a6170300fe6f8dcae48fb17a571dfd2721043e0af07284523e",14"hex": "483045022100b471cc71a02556bb1f14298c3b7bb6019e408c78bd6512a1bccfbda30b53cf5302200d3892b80c03fa3d75f67a0e69d23771c33773100dfe6bed0748ceca94bd916b412102b4eb67413b4026a6170300fe6f8dcae48fb17a571dfd2721043e0af07284523e"15},16"sequence": 429496729517},18{19"txid": "2d300dd7b49283c105112011750f2184b858002863edc20ae36590e1f71a22db",20"vout": 1,21"scriptSig": {22"asm": "3045022100c44369fabee6fd81cdd75b14891e00ff7cd438502bec13112897b483509d7c4102201a571fc92dc6fff59a0216169acf3794d1bb63be1e03a1d1f7fe1ce6a605bc3c[ALL|FORKID] 02b4eb67413b4026a6170300fe6f8dcae48fb17a571dfd2721043e0af07284523e",23"hex": "483045022100c44369fabee6fd81cdd75b14891e00ff7cd438502bec13112897b483509d7c4102201a571fc92dc6fff59a0216169acf3794d1bb63be1e03a1d1f7fe1ce6a605bc3c412102b4eb67413b4026a6170300fe6f8dcae48fb17a571dfd2721043e0af07284523e"24},25"sequence": 429496729526}27],28"vout": [29{30"value": 0.00320253,31"n": 0,32"scriptPubKey": {33"asm": "OP_DUP OP_HASH160 c62b2b5e1e96415634c02823239309e955b64828 OP_EQUALVERIFY OP_CHECKSIG",34"hex": "76a914c62b2b5e1e96415634c02823239309e955b6482888ac",35"reqSigs": 1,36"type": "pubkeyhash",37"addresses": [38"bitcoincash:qrrzk267r6tyz435cq5zxgunp854tdjg9qvjfwd0vy"39]40}41},42{43"value": 0.00318222,44"n": 1,45"scriptPubKey": {46"asm": "OP_DUP OP_HASH160 612ff813f1a3f10481975a0c43c480e67bbcc013 OP_EQUALVERIFY OP_CHECKSIG",47"hex": "76a914612ff813f1a3f10481975a0c43c480e67bbcc01388ac",48"reqSigs": 1,49"type": "pubkeyhash",50"addresses": [51"bitcoincash:qpsjl7qn7x3lzpypjadqcs7ysrn8h0xqzvnx9vjn2r"52]53}54}55],56"hex": "01000000023b5545073f63686b72a7bb362a143de4f0437abc680cc045d919d3bbd7caf08a000000006b483045022100b471cc71a02556bb1f14298c3b7bb6019e408c78bd6512a1bccfbda30b53cf5302200d3892b80c03fa3d75f67a0e69d23771c33773100dfe6bed0748ceca94bd916b412102b4eb67413b4026a6170300fe6f8dcae48fb17a571dfd2721043e0af07284523effffffffdb221af7e19065e30ac2ed63280058b884210f7511201105c18392b4d70d302d010000006b483045022100c44369fabee6fd81cdd75b14891e00ff7cd438502bec13112897b483509d7c4102201a571fc92dc6fff59a0216169acf3794d1bb63be1e03a1d1f7fe1ce6a605bc3c412102b4eb67413b4026a6170300fe6f8dcae48fb17a571dfd2721043e0af07284523effffffff02fde20400000000001976a914c62b2b5e1e96415634c02823239309e955b6482888ac0edb0400000000001976a914612ff813f1a3f10481975a0c43c480e67bbcc01388ac00000000",57"blockhash": "000000000000000001709ea8074b4df1342f49483f2b2fd52131bc309ffcdc91",58"confirmations": 22998,59"time": 1756386098,60"blocktime": 175638609861},62"error": null,63"id": 164}
1{2"result": {3"txid": "a7cf70e0152b45651928ef3feb381d21e94e8bd4c53757cabf485eaff58125ed",4"hash": "a7cf70e0152b45651928ef3feb381d21e94e8bd4c53757cabf485eaff58125ed",5"version": 1,6"size": 374,7"locktime": 0,8"vin": [9{10"txid": "8af0cad7bbd319d945c00c68bc7a43f0e43d142a36bba7726b68633f0745553b",11"vout": 0,12"scriptSig": {13"asm": "3045022100b471cc71a02556bb1f14298c3b7bb6019e408c78bd6512a1bccfbda30b53cf5302200d3892b80c03fa3d75f67a0e69d23771c33773100dfe6bed0748ceca94bd916b[ALL|FORKID] 02b4eb67413b4026a6170300fe6f8dcae48fb17a571dfd2721043e0af07284523e",14"hex": "483045022100b471cc71a02556bb1f14298c3b7bb6019e408c78bd6512a1bccfbda30b53cf5302200d3892b80c03fa3d75f67a0e69d23771c33773100dfe6bed0748ceca94bd916b412102b4eb67413b4026a6170300fe6f8dcae48fb17a571dfd2721043e0af07284523e"15},16"sequence": 429496729517},18{19"txid": "2d300dd7b49283c105112011750f2184b858002863edc20ae36590e1f71a22db",20"vout": 1,21"scriptSig": {22"asm": "3045022100c44369fabee6fd81cdd75b14891e00ff7cd438502bec13112897b483509d7c4102201a571fc92dc6fff59a0216169acf3794d1bb63be1e03a1d1f7fe1ce6a605bc3c[ALL|FORKID] 02b4eb67413b4026a6170300fe6f8dcae48fb17a571dfd2721043e0af07284523e",23"hex": "483045022100c44369fabee6fd81cdd75b14891e00ff7cd438502bec13112897b483509d7c4102201a571fc92dc6fff59a0216169acf3794d1bb63be1e03a1d1f7fe1ce6a605bc3c412102b4eb67413b4026a6170300fe6f8dcae48fb17a571dfd2721043e0af07284523e"24},25"sequence": 429496729526}27],28"vout": [29{30"value": 0.00320253,31"n": 0,32"scriptPubKey": {33"asm": "OP_DUP OP_HASH160 c62b2b5e1e96415634c02823239309e955b64828 OP_EQUALVERIFY OP_CHECKSIG",34"hex": "76a914c62b2b5e1e96415634c02823239309e955b6482888ac",35"reqSigs": 1,36"type": "pubkeyhash",37"addresses": [38"bitcoincash:qrrzk267r6tyz435cq5zxgunp854tdjg9qvjfwd0vy"39]40}41},42{43"value": 0.00318222,44"n": 1,45"scriptPubKey": {46"asm": "OP_DUP OP_HASH160 612ff813f1a3f10481975a0c43c480e67bbcc013 OP_EQUALVERIFY OP_CHECKSIG",47"hex": "76a914612ff813f1a3f10481975a0c43c480e67bbcc01388ac",48"reqSigs": 1,49"type": "pubkeyhash",50"addresses": [51"bitcoincash:qpsjl7qn7x3lzpypjadqcs7ysrn8h0xqzvnx9vjn2r"52]53}54}55],56"hex": "01000000023b5545073f63686b72a7bb362a143de4f0437abc680cc045d919d3bbd7caf08a000000006b483045022100b471cc71a02556bb1f14298c3b7bb6019e408c78bd6512a1bccfbda30b53cf5302200d3892b80c03fa3d75f67a0e69d23771c33773100dfe6bed0748ceca94bd916b412102b4eb67413b4026a6170300fe6f8dcae48fb17a571dfd2721043e0af07284523effffffffdb221af7e19065e30ac2ed63280058b884210f7511201105c18392b4d70d302d010000006b483045022100c44369fabee6fd81cdd75b14891e00ff7cd438502bec13112897b483509d7c4102201a571fc92dc6fff59a0216169acf3794d1bb63be1e03a1d1f7fe1ce6a605bc3c412102b4eb67413b4026a6170300fe6f8dcae48fb17a571dfd2721043e0af07284523effffffff02fde20400000000001976a914c62b2b5e1e96415634c02823239309e955b6482888ac0edb0400000000001976a914612ff813f1a3f10481975a0c43c480e67bbcc01388ac00000000",57"blockhash": "000000000000000001709ea8074b4df1342f49483f2b2fd52131bc309ffcdc91",58"confirmations": 22998,59"time": 1756386098,60"blocktime": 175638609861},62"error": null,63"id": 164}