Arbitrum One
Bereit, das in der Produktion aufzurufen?
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
Arbitrum One
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
debug_traceBlockByNumber replays every transaction in an Arbitrum One block selected by its hex block number or a tag like latest, returning an opcode-level trace for each transaction in block order. Arbitrum One is a Nitro Optimistic Rollup (chain ID 42161) that settles to Ethereum L1 and meters gas in ETH, so block numbers advance quickly under the sequencer's sub-second confirmations. This is the convenient variant when you are walking the chain by height rather than chasing a specific hash. Send requests to https://arbitrum.therpc.io/YOUR_API_KEY with an optional tracer config.
| # | Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|---|
| 1 | blockNumber | string | Ja | Block to trace. |
| 2 | options | object | Nein | Same tracer configuration object as debug_traceTransaction. |
| Typ | Beschreibung |
|---|---|
| array | Array of per-transaction trace results in block order. Each element has the same shape as debug_traceTransaction output for the active tracer. |
Try it live in the Arbitrum One playground.
| Code | Meldung | Ursache |
|---|---|---|
-32601 | Method not found | debug namespace not enabled on the node. |
-32602 | Invalid params | Block number is malformed or not a recognized tag. |
-32000 | block not found | Block does not exist or archive state is unavailable for that number. |
latest are valid but race with the sequencer's fast-moving head — between resolving the tag and tracing, a new block may already be the latest.Parameter
hex block number or "latest" | "earliest" | "pending"
Same tracer configuration object as debug_traceTransaction.