Replays any transaction that may have been executed prior to this one before it will finally attempt to execute the transaction that corresponds to the given hash.


Supported on Avalanche C-Chain (mainnet) only.


  • transactionHash[REQUIRED] - The hash of transaction
  • tracer[REQUIRED] - The tracer type


This returns based on callTracer. Please refer to Geth implementation for more return data fields.

  • Object- Full trace of the block.
    • result- Trace Object, which has the following fields:
      • from- The address the transaction is sent from
      • to- The address the transaction is directed to
      • gas- The gas provided for the transaction execution
      • gasUsed- The gasPrice used for each paid gas
      • input- The data sent along with the transaction
      • output- The output data
      • type- Type of the transaction
      • value- The value transferred in Wei, encoded as a hexadecimal
      • calls- The transaction calls

API Endpoint

The format of an Avalanche C-Chain API endpoint is{{apiKey}}/avalanche-c/ext/bc/C/rpc - for RPC API{{apiKey}}/avalanche-c/ext/bc/C/avax - for AVAX API

Here is an example:



curl{{apiKey}}/avalanche-c/ext/bc/C/rpc \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"debug_traceTransaction","params": ["0x34bd3463c504e6188a8549a70973bfdb944a42a16e4ee44cb1467e7843753174",{"tracer": "callTracer"}],"id": 0 }'