Arbitrum One
Prêt à utiliser cela en production ?
Le niveau gratuit couvre les projets personnels. Le paiement à l'usage évolue sans carte bancaire.
Arbitrum One
Le niveau gratuit couvre les projets personnels. Le paiement à l'usage évolue sans carte bancaire.
debug_traceBlock takes a block you supply as RLP-encoded bytes, re-executes it against its parent state on an Arbitrum One node, and returns an opcode-level trace for every transaction in block order. Unlike the by-hash and by-number variants, here you hand the node the block payload itself rather than a reference. Arbitrum One is a Nitro Optimistic Rollup (chain ID 42161) that prices gas in ETH, so the node replays the ArbOS execution exactly as the sequencer would have. Point requests at https://arbitrum.therpc.io/YOUR_API_KEY and pass an optional tracer config to control the output shape.
| # | Nom | Type | Obligatoire | Description |
|---|---|---|---|---|
| 1 | rlpBlock | string | Oui | RLP-encoded block data. The block must be a valid, known block; the node re-executes it against the parent state. |
| 2 | options | object | Non | 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 Arbitrum One 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, then re-encode it, and a malformed payload returns -32602.debug_traceBlockByHash: this is a full block replay, so dense blocks are heavy and may need a compact tracer.Paramètres
0x-prefixed RLP-encoded block
Same tracer configuration object as debug_traceTransaction.