debug_traceTransaction - Etherlink RPC Method
Trace a transaction execution on Etherlink. Call-trace examples use fixed historical transactions.
Traces a transaction execution on Etherlink by transaction hash.
Node Requirement
Use callTracer. Mainnet block tracing starts at Bifrost block 4,162,673. The Dune client skips trace RPC below that height. Requests with timeout 119s succeeded; timeout enforcement was not verified.
When to Use This Method
Read callTracer output for the transaction recorded in block 4,162,737. The captured result contains a CALL and a nested call.
Best Practices
Keep the recorded block height and address together when reproducing a historical example. Preserve RPC errors instead of replacing them with empty results.
Tracer Options
These examples use callTracer. The timeout: 119s field was accepted. Timeout enforcement and other tracer options were not verified.
Code Examples
curl -X POST "https://api-etherlink-mainnet.n.dwellir.com/YOUR_API_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"jsonrpc":"2.0","id":9,"method":"debug_traceTransaction","params":["0x0dc908c545bfefe9fd5b5198e39c1af2b3166e5e556a51f2efd55c4a449fa587",{"tracer":"callTracer","timeout":"119s"}]}'