chain
Decode Transaction
Decodes a raw, signed transaction into a human-readable format, revealing fields like nonce, gas price, recipient, value, and signature components. This helps developers and users audit or debug transactions by highlighting asset changes (sender, receiver, and transferred amount).
💡 Compute Unit Value: 45 (Fixed)
post/defi/v1/chain/decodetransaction
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/chain/decodetransaction
- AuthAPI key in header X-API-Key
Request body
Example request
{
"chainId": "1",
"chainSymbol": "ETH",
"rawTransaction": "0xf86f048433918fbe830493e0949b79d6dfe4650d70f35dbb80f7d1ec0cf7f823fd87038d7ea4c6800084022794382da0c9bd6b5c7e18a258b04039d524a3e1382ec0f522d160dc027428933f520b6868a07332736f1df297842299230820626f1fc5b8d4cdd602ade55e3ba02c63e756ce"
}Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"parsedTx": {
"nonce": 0,
"gasPrice": {
"type": "BigNumber",
"hex": "0x09c9919d87"
},
"gasLimit": {
"type": "BigNumber",
"hex": "0x0a4a11"
},
"to": "0xa67E9B68c41b0f26184D64C26e0b2B81466E5994",
"value": {
"type": "BigNumber",
"hex": "0x01"
},
"data": "0x",
"chainId": 1,
"v": 37,
"r": "0x7542477f2599acdda95c37ff0492bd0ac656687780033807e0434ccf69bd4015",
"s": "0x05f33bf2cde8001f51b46e18db78049b4509b824f09dccb45b4dbb9087d17049",
"from": "0xa2e73C17F437688946993F683930E3Fd42Dd4F8C",
"hash": "0x5c3ef8d1720f481a6dbeb58f4d6cb404f9e2b6f31ba52ba5c8df48142b9e2ad3",
"type": null
},
"assetChanges": {
"from": "0xa2e73C17F437688946993F683930E3Fd42Dd4F8C",
"to": "0xa67E9B68c41b0f26184D64C26e0b2B81466E5994",
"value": {
"type": "BigNumber",
"hex": "0x01"
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.