debug_traceCall RPC Method
매개변수
객체
객체
로딩 중...
출처:
문자열
로딩 중...
~에
문자열
로딩 중...
가스
정수
로딩 중...
가스 가격
정수
로딩 중...
값
정수
로딩 중...
데이터
문자열
로딩 중...
blockReference
문자열
로딩 중...
객체
객체
필수
로딩 중...
tracer
문자열
로딩 중...
tracerConfig
객체
로딩 중...
onlyTopCall
부울
로딩 중...
반품
결과
로딩 중...
출처:
로딩 중...
가스
로딩 중...
가스 사용량
로딩 중...
~에
로딩 중...
입력
로딩 중...
통화
로딩 중...
값
로딩 중...
유형
로딩 중...
요청
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
1필수 'eth'23클라이언트 = Eth::클라이언트.생성 'https://docs-demo.sei-pacific.quiknode.pro/'4페이로드 = {5"jsonrpc": "2.0",6"method": "debug_traceCall",7"params": [{8"to": "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b",9"data": "0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07"10}, "0x1ABBB55", {"tracer": "callTracer"}],11"id": "1"12}1314답변 = 클라이언트.전송(페이로드.to_json)15응답을 반환합니다16
1필수 'eth'23클라이언트 = Eth::클라이언트.생성 'https://docs-demo.sei-pacific.quiknode.pro/'4페이로드 = {5"jsonrpc": "2.0",6"method": "debug_traceCall",7"params": [{8"to": "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b",9"data": "0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07"10}, "0x1ABBB55", {"tracer": "callTracer"}],11"id": "1"12}1314답변 = 클라이언트.전송(페이로드.to_json)15응답을 반환합니다16
1const 이더 = 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]);13콘솔.log(응답);14})();15
1const 이더 = 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]);13콘솔.log(응답);14})();15
1var myHeaders = new Headers();2myHeaders.추가("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 = {20메서드: 'POST',21헤더: myHeaders,22본문: raw,23리디렉션: 'follow'24};2526가져오기("https://docs-demo.sei-pacific.quiknode.pro/", requestOptions)27.그런 다음(응답 => response.text())28.그런 다음(결과 => console.log(result))29.catch(오류 => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.추가("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 = {20메서드: 'POST',21헤더: myHeaders,22본문: raw,23리디렉션: 'follow'24};2526가져오기("https://docs-demo.sei-pacific.quiknode.pro/", requestOptions)27.그런 다음(응답 => response.text())28.그런 다음(결과 => console.log(result))29.catch(오류 => console.log('error', error));
1import 요청2import json34url = "https://docs-demo.sei-pacific.quiknode.pro/"56페이로드 = 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})20헤더 = {21'Content-Type': 'application/json'22}2324답변 = 요청.요청("POST", url, 헤더=헤더, data=페이로드)2526인쇄(응답.text)27
1import 요청2import json34url = "https://docs-demo.sei-pacific.quiknode.pro/"56페이로드 = 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})20헤더 = {21'Content-Type': 'application/json'22}2324답변 = 요청.요청("POST", url, 헤더=헤더, data=페이로드)2526인쇄(응답.text)27
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sei-pacific.quiknode.pro/")67https = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::POST.새(URL)11요청["Content-Type"] = "application/json"12요청.본문 = 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})2627답변 = https.요청(요청)28응답을 넣습니다.read_body29
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sei-pacific.quiknode.pro/")67https = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::POST.새(URL)11요청["Content-Type"] = "application/json"12요청.본문 = 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})2627답변 = https.요청(요청)28응답을 넣습니다.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