Debug
debug_getRawTransaction
Returns the bytes of the transaction for the given hash.
⚠️ Note: This method is NOT available on public RPC endpoints. You must run your own node or use a dedicated node service to access debug methods.
Request Body
application/json
JSON-RPC request
jsonrpc*string
method*string
params*array<>
id*integer
Response Body
application/json
application/json
curl -X POST "https://api.avax.network/ext/bc/C/rpc#debug_getRawTransaction" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "method": "debug_getRawTransaction", "params": [ "0x..." ], "id": 1 }'{
"jsonrpc": "2.0",
"result": null,
"error": {
"code": 0,
"message": "string",
"data": null
},
"id": 1
}{
"jsonrpc": "2.0",
"error": {
"code": 0,
"message": "string",
"data": null
},
"id": 1
}Is this guide helpful?