Skip to main content

debug_traceTransaction

Returns all traces of a given transaction.

Params

(2)

1. tracer (required)

tracer
string
required
Allowed values:
callTracerprestateTracer

2. tx_hash (required)

string<hex>

Result

(MonadCallFrame)
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

Params

tracer

tx_hash


Request

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