Comment on page
debug_traceTransaction
It will attempt to run the transaction in the exact same manner as it was executed on the network.
String - The hash of a transaction.
Object - tracer
- tracer: string - the type of tracer. Currently supports
callTracer
andprestateTracer
Array - Block traces
// Request
curl https://taiko-jolnir.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" --data '{"method":"debug_traceTransaction","params":["0xb22833190fe739efe39ee23b2378d54753ffebf4684d00dd5b5c73087ba29701", {"tracer": "callTracer"}],"id":1,"jsonrpc":"2.0"}'
// Result
{
"jsonrpc": "2.0",
"id": 1,
"result": {as described above}
Last modified 1mo ago