Decode transaction
GET/decode_tx
Decode transaction
Request
Query Parameters
hex_tx stringrequired
Transaction to be decoded in hexadecimal
Responses
- 200
Success
- application/json
- Schema
- success
- error
Schema
any
Transaction decoded
{
"tx": {
"hash": "00002b3be4e3876e67b5e090d76dcd71cde1a30ca1e54e38d65717ba131cd22f",
"nonce": 17076,
"timestamp": 1539271482,
"version": 1,
"weight": 14,
"parents": [],
"inputs": [
{
"value": 42500000044,
"script": "dqkURJPA8tDMJHU8tqv3SiO18ZCLEPaIrA==",
"decoded": {
"type": "P2PKH",
"address": "17Fbx9ouRUD1sd32bp4ptGkmgNzg7p2Krj",
"timelock": null
},
"token": "00",
"tx": "000002d28696f94f89d639022ae81a1d870d55d189c27b7161d9cb214ad1c90c",
"index": 0
}
],
"outputs": [],
"tokens": []
},
"meta": {
"hash": "00002b3be4e3876e67b5e090d76dcd71cde1a30ca1e54e38d65717ba131cd22f",
"spent_outputs": [
[
"0",
[
"00002b3be4e3876e67b5e090d76dcd71cde1a30ca1e54e38d65717ba131cd22e"
]
],
[
"1",
[
"00002b3ce4e3876e67b5e090d76dcd71cde1a30ca1e54e38d65717ba131cd22e"
]
]
],
"received_by": [],
"children": [
"00002b3ee4e3876e67b5e090d76dcd71cde1a30ca1e54e38d65717ba131cd22d"
],
"conflict_with": [],
"voided_by": [],
"twins": [],
"accumulated_weight": 10,
"score": 12,
"first_block": null
},
"spent_outputs": {
"0": "00002b3ce4e3876e67b5e090d76dcd71cde1a30ca1e54e38d65717ba131cd22e"
},
"success": true
}
Error when decoding transaction
{
"success": false
}
Loading...