Arbitrum One
هل أنت مستعد لاستدعاء هذا في الإنتاج؟
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
Arbitrum One
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
trace_transaction returns the OpenEthereum/Nethermind-style call tree for one historical Arbitrum One transaction, flattened into trace objects that show every internal call, contract create, and self-destruct, each with a traceAddress path encoding its place in the tree. Unlike debug_traceTransaction, it gives you the action-level call graph rather than opcode logs — ideal for following ETH and value flows. Arbitrum One is a Nitro Optimistic Rollup (chain ID 42161) that pays gas in ETH and settles to Ethereum L1, so this surfaces the internal transactions behind any tx on Arbiscan. Send requests to https://arbitrum.therpc.io/YOUR_API_KEY.
eth_getLogs.traceAddress path.| # | الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|---|
| 1 | transactionHash | string | نعم | Hash of the transaction to retrieve traces for. |
| النوع | الوصف |
|---|---|
| array | Flat array of trace objects, each with `{action, result, subtraces, traceAddress, transactionHash, transactionPosition, blockHash, blockNumber, type}`. `traceAddress` encodes the path through the call tree. |
Try it live in the Arbitrum One playground.
| الكود | الرسالة | السبب |
|---|---|---|
-32601 | Method not found | trace namespace not enabled; node requires --gcmode=archive and trace API enabled (Geth), or equivalent flag on Nethermind/Erigon. |
-32602 | Invalid params | Transaction hash is missing or malformed. |
-32000 | transaction not found | Transaction does not exist or archive trace data is unavailable for that block. |
--gcmode=archive plus the trace API, or Erigon/Nethermind with trace enabled); most public Arbitrum One light nodes do not expose it.debug_traceTransaction: there is no opcode-level data here, only call, create, and self-destruct actions — pick the right method for the detail you need.المعاملات
0x-prefixed 32-byte hash