Skip to main content
POST
debug_getRawTransaction
curl --request POST \
  --url https://tempo-mainnet.core.chainstack.com/c3ce2925b51f1ed18719fe8a23bbdccf/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "method": "debug_getRawTransaction",
  "params": [
    "0x0000000000000000000000000000000000000000000000000000000000000000"
  ],
  "id": 1
}
'
{
  "jsonrpc": "<string>",
  "id": 123,
  "result": "<unknown>"
}
Tempo API method that returns the RLP-encoded transaction data for a given transaction hash.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • transactionHash — the hash of the transaction

Response

  • result — the RLP-encoded transaction data as a hex string, or null if the transaction is not found.

debug_getRawTransaction code examples

curl -X POST "CHAINSTACK_NODE_URL" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "method": "debug_getRawTransaction", "params": ["0x0000000000000000000000000000000000000000000000000000000000000000"], "id": 1}'

Body

application/json
jsonrpc
string
default:2.0
method
string
default:debug_getRawTransaction
params
any[]

Method parameters

id
integer
default:1

Response

200 - application/json

Successful response

jsonrpc
string
id
integer
result
any

Method result

Last modified on March 19, 2026