🚀 We’re excited to announce our $35m Series A led by Tiger Global: Press Release, Coindesk, Bloomberg, Business Insider & RefreshMiami!

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:

const ethers = require("ethers");
(async () => {
  const provider = new ethers.providers.JsonRpcProvider('http://sample-endpoint-name.network.quiknode.pro/token-goes-here/');
  const transaction = await provider.send('debug_traceTransaction', ['0x9e63085271890a141297039b3b711913699f1ee4db1acb667ad7ce304772036b']);
  console.log(transaction);
})();
Ready to try QuickNode? Start your 7-day free trial