Parameters:
Returns:
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"]
from web3 import Web3, HTTPProvider provider = Web3.HTTPProvider("http://sample-endpoint-name.network.quiknode.pro/token-goes-here/") result = provider.make_request('debug_traceTransaction', ['0x9e63085271890a141297039b3b711913699f1ee4db1acb667ad7ce304772036b']) print(result)
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); })();
curl http://sample-endpoint-name.network.quiknode.pro/token-goes-here/\ -X POST \ -H "Content-Type: application/json" \ --data '{"method":"debug_traceTransaction","params":["0x9e63085271890a141297039b3b711913699f1ee4db1acb667ad7ce304772036b"],"id":1,"jsonrpc":"2.0"}'