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_traceBlockByHash re-executes every transaction in one Arbitrum One block — identified by its 32-byte block hash — and returns an opcode-level trace for each, in block order. Arbitrum One is a Nitro Optimistic Rollup (chain ID 42161) whose sequencer gives sub-second soft confirmations and whose gas is paid in ETH; tracing by hash pins you to one exact block even across reorgs near the unsafe head. Pass an optional tracer config (callTracer, prestateTracer, or the default struct logger) and send the request to https://arbitrum.therpc.io/YOUR_API_KEY.
| # | Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|---|
| 1 | blockHash | string | Ja | Hash of the 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 hash is missing or not a valid 32-byte hex value. |
-32000 | block not found | Block hash not found or archive state unavailable. |
debug_traceBlockByNumber: the node replays every transaction in the block, so a dense Arbitrum One block is far heavier than tracing a single transaction.Parameter
0x-prefixed 32-byte block hash
Same tracer configuration object as debug_traceTransaction.