Base
Ready to call this in production?
Free tier covers personal projects. Pay-as-you-go scales without a card.
Base
Free tier covers personal projects. Pay-as-you-go scales without a card.
debug_traceBlock takes a Base block supplied directly as RLP-encoded bytes, re-executes it against the parent state, and returns opcode-level execution traces for every transaction inside. Unlike the by-hash and by-number variants, you hand the node the raw block rather than a reference to one already in its database. Base is Coinbase's OP Stack optimistic rollup that pays gas in ETH and settles to Ethereum L1, so its execution client accepts the same RLP block encoding as Geth. Post the request to https://base.therpc.io/YOUR_API_KEY (chain ID 8453, hex 0x2105) with the 0x-prefixed RLP block and an optional tracer config, and the node returns one trace per transaction in block order.
| # | Name | Type | Required | Description |
|---|---|---|---|---|
| 1 | rlpBlock | string | Yes | RLP-encoded block data. The block must be a valid, known block; the node re-executes it against the parent state. |
| 2 | options | object | No | Same tracer configuration object as debug_traceTransaction. |
| Type | Description |
|---|---|
| array | Array of per-transaction trace results in block order, identical in shape to debug_traceBlockByHash output. |
Try it live in the Base playground.
| Code | Message | Cause |
|---|---|---|
-32601 | Method not found | debug namespace not enabled on the node. |
-32602 | Invalid params | RLP data is malformed, empty, or does not decode to a valid block structure. |
-32000 | block not found | Parent state for the provided block is not available (archive state missing). |
eth_getBlockByHash with full transactions and re-encode it, since a malformed RLP payload fails to decode.debug_traceBlockByHash — it is a full block replay, so a dense Base block of DEX and consumer-app transactions is heavy and may approach the trace timeout.Parameters
0x-prefixed RLP-encoded block
Same tracer configuration object as debug_traceTransaction.