Arbitrum One
Pronto para usar isso em produção?
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
Arbitrum One
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
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.
| # | Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|---|
| 1 | blockNumber | string | Sim | Block to trace. |
| 2 | options | object | Não | Same tracer configuration object as debug_traceTransaction. |
| Tipo | Descrição |
|---|---|
| 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 | Mensagem | 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.