Arbitrum One
Pronto para usar isso em produção?
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
Arbitrum One
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
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.| # | Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|---|
| 1 | transactionHash | string | Sim | Hash of the transaction to retrieve traces for. |
| Tipo | Descrição |
|---|---|
| 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.
| Código | Mensagem | Causa |
|---|---|---|
-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.Parâmetros
0x-prefixed 32-byte hash