Arbitrum One
هل أنت مستعد لاستدعاء هذا في الإنتاج؟
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
Arbitrum One
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
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.
| # | الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|---|
| 1 | blockHash | string | نعم | Hash of the block to trace. |
| 2 | options | object | لا | Same tracer configuration object as debug_traceTransaction. |
| النوع | الوصف |
|---|---|
| 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.
| الكود | الرسالة | السبب |
|---|---|---|
-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.المعاملات
0x-prefixed 32-byte block hash
Same tracer configuration object as debug_traceTransaction.