Marketplace has launched, further enabling blockchain developers! Learn more


debug_traceTransaction RPC method

The debug_traceTransaction EVM method is only supported on the Avalanche C-Chain.


  1. Hash - The hash of a transaction.


  1. 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.

Code Examples:

To use the debug_traceTransaction EVM method on the Avalanche C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.

require 'ethereum.rb'
client ='')
transaction = client.send_command('debug_traceTransaction', ['0x9e63085271890a141297039b3b711913699f1ee4db1acb667ad7ce304772036b'])
puts transaction["result"]
Ready to get started? Create a free account