Arbitrum One
¿Listo para usar esto en producción?
El plan gratuito cubre proyectos personales. El pago por uso escala sin necesidad de tarjeta.
Arbitrum One
El plan gratuito cubre proyectos personales. El pago por uso escala sin necesidad de tarjeta.
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.
| # | Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|---|
| 1 | blockNumber | string | Sí | Block to trace. |
| 2 | options | object | No | Same tracer configuration object as debug_traceTransaction. |
| Tipo | Descripción |
|---|---|
| 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.
| Código | Mensaje | Causa |
|---|---|---|
-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.Parámetros
hex block number or "latest" | "earliest" | "pending"
Same tracer configuration object as debug_traceTransaction.