trace_block on Ethereum
Returns trace_* call traces for every transaction in a block — the trace-module equivalent of debug_traceBlockByNumber. Heavy; needs a free API key.
Flat trace_* actions for a whole block. The trace_ namespace is Erigon/OpenEthereum-lineage and not every client exposes it, so confirm support on the specific chain before relying on it.
Ethereum endpoint (keyed — free)
https://rpc.nodeflare.app/eth/v1/YOUR_KEYMethod
trace_block
Cost
100 CU
Chain ID
1
Block time
~12 s
Finality
~13 min (finalized)
Tracing on Ethereum
Traces on mainnet are heavy — a single debug_traceTransaction re-executes the transaction. Use the callTracer preset to decode reverts cheaply instead of the default opcode-level struct logger.
Parameters
[blockNumber|tag]cURL
curl https://rpc.nodeflare.app/eth/v1/YOUR_KEY \
-X POST \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","method":"trace_block","params":["latest"],"id":1}'ethers.js
import { ethers } from 'ethers';
const provider = new ethers.JsonRpcProvider(
'https://rpc.nodeflare.app/eth/v1/YOUR_KEY'
);
const result = await provider.send('trace_block', ["latest"]);Try it live
Runs the example above against the public Ethereum endpoint — straight from your browser.
trace_block on Ethereum — FAQ
How do I call trace_block on Ethereum?
POST a JSON-RPC 2.0 request with "method": "trace_block" to NodeFlare's Ethereum endpoint at https://rpc.nodeflare.app/eth/v1/YOUR_KEY. This method requires a free API key — it is not available on the public endpoint.
What does trace_block cost on the free tier?
trace_block is weighted at 100 compute units per call. The free tier includes 2,000,000 CU/month, so that is roughly 20,000 trace_block calls per month — no credit card.
Is trace_block available on the public Ethereum endpoint?
No. trace_block 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_block, eth_getLogs, trace_* and debug_*.
Anything Ethereum-specific to know when using trace_block?
Traces on mainnet are heavy — a single debug_traceTransaction re-executes the transaction. Use the callTracer preset to decode reverts cheaply instead of the default opcode-level struct logger.
Call trace_block on Ethereum with a free key
2,000,000 compute units/month, heavy methods unlocked, every chain included. No credit card.
Get your free API key →