Contents

debug_traceTransaction RPC method

Parameters:

  1. Hash - The hash of a transaction.

Returns:

  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:

require 'ethereum.rb'
client = Ethereum::HttpClient.new('http://sample-endpoint-name.network.quiknode.pro/token-goes-here/')
transaction = client.send_command('debug_traceTransaction', ['0x9e63085271890a141297039b3b711913699f1ee4db1acb667ad7ce304772036b'])
puts transaction["result"]
Ready to try QuickNode? Start your 7-day free trial