debug_traceTransaction - Ethereum
This method reruns a specific transaction with the same state as when it was originally executed. By doing so, developers can trace the transaction’s execution step by step to understand its behavior.
Supported Networks
Parameters
Request
https://go.getblock.io/<ACCESS-TOKEN>/curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"method": "debug_traceTransaction",
"params": [
"0xcd718a69d478340dc28fdf6bf8056374a52dc95841b44083163ced8dfe29310c",
null
],
"id": "getblock.io"
}'wscat -c wss://go.getblock.io/<ACCESS-TOKEN>/
# wait for connection and send the request body
{"jsonrpc": "2.0",
"method": "debug_traceTransaction",
"params": ["0xcd718a69d478340dc28fdf6bf8056374a52dc95841b44083163ced8dfe29310c", null],
"id": "getblock.io"}Response
Response Description
Returns
Use Case
Example Code
Last updated
Was this helpful?