Skip to main content

debug_traceCall

Traces a call without creating a transaction on Monad.

Archive Node Required

This method requires an archive node. It is not available on full nodes.

Use Cases#

  • Transaction simulation - Debug before sending
  • Gas analysis - Analyze gas usage per opcode
  • Contract debugging - Step through execution for high-throughput DeFi, latency-sensitive trading, and scalable EVM applications

Parameters#

ParameterTypeRequiredDescription
callObjectYesCall object (same as eth_call)
blockNumberQUANTITY|TAGYesBlock number or tag
tracerConfigObjectNoTracer configuration

Request#

{
"jsonrpc": "2.0",
"method": "debug_traceCall",
"params": [
{
"to": "0x3bd359C1119dA7Da1D913D1C4D2B7c461115433A",
"data": "0x70a082310000000000000000000000003bd359C1119dA7Da1D913D1C4D2B7c461115433A"
},
"latest",
{}
],
"id": 1
}

Code Examples#

curl -X POST https://api-monad-mainnet-full.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "debug_traceCall",
"params": [
{"to": "0x3bd359C1119dA7Da1D913D1C4D2B7c461115433A", "data": "0x70a082310000000000000000000000003bd359C1119dA7Da1D913D1C4D2B7c461115433A"},
"latest",
{"tracer": "callTracer"}
],
"id": 1
}'