debug_traceCall RPC Method
Parameters
object
object
Loading...
from
string
Loading...
to
string
Loading...
gas
integer
Loading...
gasPrice
integer
Loading...
value
integer
Loading...
data
string
Loading...
blockReference
string
Loading...
object
object
REQUIRED
Loading...
tracer
string
Loading...
tracerConfig
object
Loading...
onlyTopCall
boolean
Loading...
Returns
result
Loading...
from
Loading...
gas
Loading...
gasUsed
Loading...
to
Loading...
input
Loading...
calls
Loading...
value
Loading...
type
Loading...
Request
1curl https://docs-demo.sei-pacific.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"debug_traceCall","params":[{"from":null,"to":"0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b","data":"0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07"}, "0x1ABBB55", {"tracer": "callTracer"}],"id":1,"jsonrpc":"2.0"}'5
1curl https://docs-demo.sei-pacific.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"debug_traceCall","params":[{"from":null,"to":"0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b","data":"0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07"}, "0x1ABBB55", {"tracer": "callTracer"}],"id":1,"jsonrpc":"2.0"}'5
1require 'eth'23client = Eth::Client.create 'https://docs-demo.sei-pacific.quiknode.pro/'4payload = {5"jsonrpc": "2.0",6"method": "debug_traceCall",7"params": [{8"to": "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b",9"data": "0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07"10}, "0x1ABBB55", {"tracer": "callTracer"}],11"id": "1"12}1314response = client.send(payload.to_json)15puts response16
1require 'eth'23client = Eth::Client.create 'https://docs-demo.sei-pacific.quiknode.pro/'4payload = {5"jsonrpc": "2.0",6"method": "debug_traceCall",7"params": [{8"to": "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b",9"data": "0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07"10}, "0x1ABBB55", {"tracer": "callTracer"}],11"id": "1"12}1314response = client.send(payload.to_json)15puts response16
1const ethers = require("ethers");2(async () => {3const provider = new ethers.providers.JsonRpcProvider("https://docs-demo.sei-pacific.quiknode.pro/");4const response = await provider.send("debug_traceCall", [5{6"to": "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b",7"data":8"0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07",9},10"0x1ABBB55",11{"tracer": "callTracer"}12]);13console.log(response);14})();15
1const ethers = require("ethers");2(async () => {3const provider = new ethers.providers.JsonRpcProvider("https://docs-demo.sei-pacific.quiknode.pro/");4const response = await provider.send("debug_traceCall", [5{6"to": "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b",7"data":8"0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07",9},10"0x1ABBB55",11{"tracer": "callTracer"}12]);13console.log(response);14})();15
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "debug_traceCall",6"params": [7{8"from": null,9"to": "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b",10"data": "0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07"11},12"0x1ABBB55",13{"tracer": "callTracer"}14],15"id": 1,16"jsonrpc": "2.0"17});1819var requestOptions = {20method: 'POST',21headers: myHeaders,22body: raw,23redirect: 'follow'24};2526fetch("https://docs-demo.sei-pacific.quiknode.pro/", requestOptions)27.then(response => response.text())28.then(result => console.log(result))29.catch(error => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "debug_traceCall",6"params": [7{8"from": null,9"to": "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b",10"data": "0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07"11},12"0x1ABBB55",13{"tracer": "callTracer"}14],15"id": 1,16"jsonrpc": "2.0"17});1819var requestOptions = {20method: 'POST',21headers: myHeaders,22body: raw,23redirect: 'follow'24};2526fetch("https://docs-demo.sei-pacific.quiknode.pro/", requestOptions)27.then(response => response.text())28.then(result => console.log(result))29.catch(error => console.log('error', error));
1import requests2import json34url = "https://docs-demo.sei-pacific.quiknode.pro/"56payload = json.dumps({7"method": "debug_traceCall",8"params": [9{10"from": None,11"to": "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b",12"data": "0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07"13},14"0x1ABBB55",15{"tracer": "callTracer"}16],17"id": 1,18"jsonrpc": "2.0"19})20headers = {21'Content-Type': 'application/json'22}2324response = requests.request("POST", url, headers=headers, data=payload)2526print(response.text)27
1import requests2import json34url = "https://docs-demo.sei-pacific.quiknode.pro/"56payload = json.dumps({7"method": "debug_traceCall",8"params": [9{10"from": None,11"to": "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b",12"data": "0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07"13},14"0x1ABBB55",15{"tracer": "callTracer"}16],17"id": 1,18"jsonrpc": "2.0"19})20headers = {21'Content-Type': 'application/json'22}2324response = requests.request("POST", url, headers=headers, data=payload)2526print(response.text)27
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sei-pacific.quiknode.pro/")67https = Net::HTTP.new(url.host, url.port)8https.use_ssl = true910request = Net::HTTP::Post.new(url)11request["Content-Type"] = "application/json"12request.body = JSON.dump({13"method": "debug_traceCall",14"params": [15{16"from": nil,17"to": "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b",18"data": "0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07"19},20"0x1ABBB55",21{"tracer": "callTracer"}22],23"id": 1,24"jsonrpc": "2.0"25})2627response = https.request(request)28puts response.read_body29
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sei-pacific.quiknode.pro/")67https = Net::HTTP.new(url.host, url.port)8https.use_ssl = true910request = Net::HTTP::Post.new(url)11request["Content-Type"] = "application/json"12request.body = JSON.dump({13"method": "debug_traceCall",14"params": [15{16"from": nil,17"to": "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b",18"data": "0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07"19},20"0x1ABBB55",21{"tracer": "callTracer"}22],23"id": 1,24"jsonrpc": "2.0"25})2627response = https.request(request)28puts response.read_body29
1from web3 import HTTPProvider2client = HTTPProvider('https://docs-demo.sei-pacific.quiknode.pro/')3params = [{4"to": "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b",5"data": "0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07"6}, "0x1ABBB55", {"tracer": "callTracer"}]7response = client.make_request('debug_traceCall', params)8print(response)9
1from web3 import HTTPProvider2client = HTTPProvider('https://docs-demo.sei-pacific.quiknode.pro/')3params = [{4"to": "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b",5"data": "0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07"6}, "0x1ABBB55", {"tracer": "callTracer"}]7response = client.make_request('debug_traceCall', params)8print(response)9
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free