Skip to main content

debug_traceBlockByHash

Returns the tracing result by executing all transactions in the block specified by the block hash with a tracer.

Params

(2)

1. block_hash (required)

string

2. tracer (required)

tracer
string
required
Allowed values:
callTracerprestateTracer

Result

(MonadDebugTraceBlockResult)
txHash
string
required
result
MonadCallFrame
required
type
string
required
Allowed values:
CALLDELEGATECALLCALLCODECREATECREATE2SELFDESTRUCTSTATICCALL
from
string
required
to
value
gas
integer
required
>= 0
gasUsed
integer
required
>= 0
input
array[integer]
required
output
array[integer]
required
error
string or null
revertReason
string or null

Params

block_hash

tracer


Request

await window.ethereum.request({
"method": "debug_traceBlockByHash",
"params": [
null,
null
]
});