Arbitrum One
هل أنت مستعد لاستدعاء هذا في الإنتاج؟
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
Arbitrum One
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
trace_block returns the OpenEthereum-style call-tree traces for every transaction in one Arbitrum One block, chosen by hex block number or a tag like latest. Each entry is a flat trace object with a transactionPosition tying it back to its transaction, so you can reconstruct all internal ETH transfers, calls, creates, and self-destructs in the block at once. Arbitrum One is a Nitro Optimistic Rollup (chain ID 42161) that meters gas in ETH and confirms quickly via its sequencer, which keeps block-level indexing busy. Send requests to https://arbitrum.therpc.io/YOUR_API_KEY.
| # | الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|---|
| 1 | blockParameter | string | نعم | Block whose transactions to trace. |
| النوع | الوصف |
|---|---|
| array | Flat array of all trace objects across all transactions in the block. Each object has the same shape as individual entries from trace_transaction, with `transactionPosition` indicating which transaction it belongs to. |
Try it live in the Arbitrum One playground.
| الكود | الرسالة | السبب |
|---|---|---|
-32601 | Method not found | trace namespace not enabled or not supported by this client. |
-32602 | Invalid params | blockParameter is malformed or not a recognized tag. |
-32000 | block not found | Block does not exist or trace archive data is unavailable. |
pending for production data: Arbitrum's fast sequencer means a pending block can change before it settles, and final L2 ordering follows the L1 challenge window.المعاملات
hex block number or "latest" | "earliest" | "pending"