Get transaction
Get transaction returns "normalized" data about a transaction.
This method will use 10 Compute Units.
Reference: Here
GET /api/v2/tx/<txid>Parameters
transaction id (hash)- string, required.
Example: 0694bfc6ff68e55975718e9547c5343db4afcdfa783cc8421ddd50642677892b
Returns
Response for a Bitcoin confirmed transaction:
{
"txid": "0694bfc6ff68e55975718e9547c5343db4afcdfa783cc8421ddd50642677892b",
"version": 1,
"vin": [
{
"sequence": 4294967295,
"n": 0,
"isAddress": false,
"coinbase": "03d5fb0b194d696e656420627920416e74506f6f6c200d008200efc52e9ffabe6d6d2641a8cd8c6ed0af79b99e118b624171da63e3ba7c481c566216b18edb6aec0c0200000000000000000089f51ffd000000000000"
}
],
"vout": [
{
"value": "649189104",
"n": 0,
"spent": true,
"spentTxId": "bd2bdfc21730fca3a6445dd1dad4ccbad65ccc2bf30f2f8b1df838221db36a91",
"spentIndex": 8,
"spentHeight": 785498,
"hex": "a9144b09d828dfc8baaba5d04ee77397e04b1050cc7387",
"addresses": [
"38XnPvu9PmonFU9WouPXUjYbW91wa5MerL"
],
"isAddress": true
},
{
"value": "0",
"n": 1,
"hex": "6a24aa21a9edeb153a4d97ba14b1f5c282fde27944a760fe269f563458fac157681e5d56da07",
"addresses": [
"OP_RETURN aa21a9edeb153a4d97ba14b1f5c282fde27944a760fe269f563458fac157681e5d56da07"
],
"isAddress": false
},
{
"value": "0",
"n": 2,
"hex": "6a2952534b424c4f434b3a179ffccca770b4c6e2d50acb332f01759de1a5888aef56cf1a2e3d20004f92ae",
"addresses": [
"OP_RETURN 52534b424c4f434b3a179ffccca770b4c6e2d50acb332f01759de1a5888aef56cf1a2e3d20004f92ae"
],
"isAddress": false
}
],
"blockHash": "00000000000000000004a49543c0b6e2043e67b513c0d9100fbdf91f662c3ad1",
"blockHeight": 785365,
"confirmations": 57195,
"blockTime": 1681476973,
"size": 304,
"vsize": 277,
"value": "649189104",
"valueIn": "0",
"fees": "0",
"hex": "010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff5603d5fb0b194d696e656420627920416e74506f6f6c200d008200efc52e9ffabe6d6d2641a8cd8c6ed0af79b99e118b624171da63e3ba7c481c566216b18edb6aec0c0200000000000000000089f51ffd000000000000ffffffff03f0d6b1260000000017a9144b09d828dfc8baaba5d04ee77397e04b1050cc73870000000000000000266a24aa21a9edeb153a4d97ba14b1f5c282fde27944a760fe269f563458fac157681e5d56da0700000000000000002b6a2952534b424c4f434b3a179ffccca770b4c6e2d50acb332f01759de1a5888aef56cf1a2e3d20004f92ae0120000000000000000000000000000000000000000000000000000000000000000000000000"
}Response for Bitcoin unconfirmed transaction (blockHeight: -1, confirmations: 0, mining estimates confirmationETABlocks and confirmationETASeconds):
Last updated
Was this helpful?