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<hex>

2. tracer (required)

tracer
string
required
Allowed values:
callTracerprestateTracer

Result

(MonadDebugTraceBlockResult)
result
MonadCallFrame
required
error
string or null
from
string<hex>
required
gas
string<hex>
required
gasUsed
string<hex>
required
input
string<hex>
required
output
string<hex>
required
revertReason
string or null
to
type
string
required
Allowed values:
CALLDELEGATECALLCALLCODECREATECREATE2SELFDESTRUCTSTATICCALL
value
txHash
string<hex>
required

Params

block_hash

tracer


Request

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