debug_traceTransaction

Returns all traces of given transaction (Trace Mode required).

📘

Supported on Arbitrum One (Nitro) only.

Parameters

  • hash - The hash of a transaction.

Returns

  • array - Block traces, which have the following object shape (all return types are hexadecimal representations of their data type unless otherwise stated):
    • result - Transaction Trace Object, which has the following fields:
      • failed - Boolean
      • gas - Quantity
      • returnvalue - Data
      • structlogs - Array
        • entries - Array
        • storagesbydepth - Array

API Endpoint

The format of an Arbitrum Nova API endpoint is
https://open-platform.nodereal.io/{{apiKey}}/arbitrum-nitro/

Here is an example:
https://open-platform.nodereal.io/4c0a1c23661a4e26bcbcwed461e34ea9/arbitrum-nitro/

Example

Request

curl https://open-platform.nodereal.io/{{apiKey}}/arbitrum-nitro/ \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"method":"debug_traceTransaction","params":["0x9e63085271890a141297039b3b711913699f1ee4db1acb667ad7ce304772036b"],"id":1,"jsonrpc":"2.0"}'

Result