trace_transaction on Avalanche
Returns the parity/trace-module call traces for a single transaction. Used by tooling built around the trace_* namespace. Heavy; needs a free API key.
The Erigon/Parity-lineage trace_ equivalent of debug_traceTransaction, returning a flat list of trace actions. Choose it when your tooling expects trace_* output; otherwise debug_'s callTracer is more widely supported.
Avalanche endpoint (keyed — free)
https://rpc.nodeflare.app/avax/v1/YOUR_KEYMethod
trace_transaction
Cost
100 CU
Chain ID
43114
Block time
~2 s
Finality
<2 s (irreversible)
Tracing on Avalanche
The C-Chain (coreth) supports geth-style debug_ tracing. Because blocks are final on acceptance, traces never change after the fact.
Parameters
[txHash]cURL
curl https://rpc.nodeflare.app/avax/v1/YOUR_KEY \
-X POST \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","method":"trace_transaction","params":["0x0000000000000000000000000000000000000000000000000000000000000000"],"id":1}'ethers.js
import { ethers } from 'ethers';
const provider = new ethers.JsonRpcProvider(
'https://rpc.nodeflare.app/avax/v1/YOUR_KEY'
);
const result = await provider.send('trace_transaction', ["0x0000000000000000000000000000000000000000000000000000000000000000"]);Try it live
Runs the example above against the public Avalanche endpoint — straight from your browser.
trace_transaction on Avalanche — FAQ
How do I call trace_transaction on Avalanche?
POST a JSON-RPC 2.0 request with "method": "trace_transaction" to NodeFlare's Avalanche endpoint at https://rpc.nodeflare.app/avax/v1/YOUR_KEY. This method requires a free API key — it is not available on the public endpoint.
What does trace_transaction cost on the free tier?
trace_transaction is weighted at 100 compute units per call. The free tier includes 2,000,000 CU/month, so that is roughly 20,000 trace_transaction calls per month — no credit card.
Is trace_transaction available on the public Avalanche endpoint?
No. trace_transaction is a heavy method and requires a free API key. The public no-key endpoint serves standard read methods; create a free key to unlock trace_transaction, eth_getLogs, trace_* and debug_*.
Anything Avalanche-specific to know when using trace_transaction?
The C-Chain (coreth) supports geth-style debug_ tracing. Because blocks are final on acceptance, traces never change after the fact.
Call trace_transaction on Avalanche with a free key
2,000,000 compute units/month, heavy methods unlocked, every chain included. No credit card.
Get your free API key →