Skip to main content

debug_traceBlockByHash RPC Method

Loading...

Updated on
Sep 22, 2025

debug_traceBlockByHash RPC Method

This RPC method is included in the Free Trial with limited usage. Upgrade your plan to get full access and higher limits. Learn more onĀ our pricing page.

Parameters

blockHash
string
REQUIRED
Loading...
object
object
REQUIRED
Loading...
tracer
string
Loading...
callTracer
string
Loading...
prestateTracer
string
Loading...
tracerConfig
object
Loading...
onlyTopCall
boolean
Loading...

Returns

result
Loading...
txHash
Loading...
result
Loading...
beforeEVMTransfers
Loading...
purpose
Loading...
from
Loading...
to
Loading...
value
Loading...
afterEVMTransfers
Loading...
purpose
Loading...
from
Loading...
to
Loading...
value
Loading...
from
Loading...
gas
Loading...
gasUsed
Loading...
to
Loading...
input
Loading...
output
Loading...
calls
Loading...
from
Loading...
gas
Loading...
gasUsed
Loading...
to
Loading...
input
Loading...
output
Loading...
error
Loading...
revertReason
Loading...
value
Loading...
type
Loading...
calls
Loading...
value
Loading...
type
Loading...
Request
1
curl https://docs-demo.xai-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"debug_traceBlockByHash","params":["0xa8adef58b9f2cef14ab7386caf133b6c7397d675fc926306318387d32f66af10", {"tracer": "callTracer"}],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free