trace_callMany RPC Method
This method requires appending
/nanoreth to your HyperLiquid endpoint URL. Debug and Trace methods are not supported on /evm endpoints. Use /nanoreth instead of /evm to access tracing functionality.매개변수
배열
배열
필수
로딩 중...
객체
객체
로딩 중...
출처:
문자열
로딩 중...
~에
문자열
필수
로딩 중...
가스
정수
로딩 중...
가스 가격
정수
로딩 중...
값
정수
로딩 중...
데이터
문자열
로딩 중...
배열
배열
로딩 중...
블록 번호
문자열
필수
로딩 중...
반품
배열
배열
로딩 중...
출력
문자열
로딩 중...
stateDiff
객체
로딩 중...
trace
배열
로딩 중...
액션
객체
로딩 중...
출처:
문자열
로딩 중...
callType
문자열
로딩 중...
가스
문자열
로딩 중...
입력
문자열
로딩 중...
~에
문자열
로딩 중...
값
문자열
로딩 중...
결과
객체
로딩 중...
가스 사용량
문자열
로딩 중...
출력
문자열
로딩 중...
subtraces
정수
로딩 중...
traceAddress
배열
로딩 중...
유형
문자열
로딩 중...
vmTrace
객체
로딩 중...
요청
1curlmainnet\2-X POST \3-H "Content-Type: application/json" \4--data '{"jsonrpc":"2.0","method":"trace_callMany","params":[[[ {"from":"0x0000000000000000000000000000000000000000","to":"0x742d35Cc6634C0532925a3b844Bc454e6595f0bE","value":"0xDE0B6B3A7640000"},["trace"]],[{"from":"0x742d35Cc6634C0532925a3b844Bc454e6595f0bE","to":"0x0000000000000000000000000000000000000001","value":"0x1"},["trace"]]],"latest"],"id":1}'5
1curlmainnet\2-X POST \3-H "Content-Type: application/json" \4--data '{"jsonrpc":"2.0","method":"trace_callMany","params":[[[ {"from":"0x0000000000000000000000000000000000000000","to":"0x742d35Cc6634C0532925a3b844Bc454e6595f0bE","value":"0xDE0B6B3A7640000"},["trace"]],[{"from":"0x742d35Cc6634C0532925a3b844Bc454e6595f0bE","to":"0x0000000000000000000000000000000000000001","value":"0x1"},["trace"]]],"latest"],"id":1}'5
1필수 'eth'23client = Eth::Client.create 'https://docs-demo.hype-mainnet.quiknode.pro/evm'4페이로드 = {5"jsonrpc": "2.0",6"method": "trace_callMany",7"params": [[[{"from": "0x0000000000000000000000000000000000000000", "to": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "value": "0xDE0B6B3A7640000"}, ["trace"]], [{"from": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "to": "0x0000000000000000000000000000000000000001", "value": "0x1"}, ["trace"]]], "latest"],8"id": "1"9}1011답변 = 클라이언트.전송(페이로드.to_json)12응답을 반환합니다13
1필수 'eth'23client = Eth::Client.create 'https://docs-demo.hype-mainnet.quiknode.pro/evm'4페이로드 = {5"jsonrpc": "2.0",6"method": "trace_callMany",7"params": [[[{"from": "0x0000000000000000000000000000000000000000", "to": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "value": "0xDE0B6B3A7640000"}, ["trace"]], [{"from": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "to": "0x0000000000000000000000000000000000000001", "value": "0x1"}, ["trace"]]], "latest"],8"id": "1"9}1011답변 = 클라이언트.전송(페이로드.to_json)12응답을 반환합니다13
1import { ethers } from "ethers";2(async () => {3const provider = new ethers.JsonRpcProvider("https://docs-demo.hype-mainnet.quiknode.pro/evm");4const response = await provider.send("trace_callMany", [5[6[7{ "from": "0x0000000000000000000000000000000000000000", "to": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "value": "0xDE0B6B3A7640000" },8["trace"]9],10[11{ "from": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "to": "0x0000000000000000000000000000000000000001", "value": "0x1" },12["trace"]13]14],15"최신",16]);17콘솔.log(응답);18})();19
1import { ethers } from "ethers";2(async () => {3const provider = new ethers.JsonRpcProvider("https://docs-demo.hype-mainnet.quiknode.pro/evm");4const response = await provider.send("trace_callMany", [5[6[7{ "from": "0x0000000000000000000000000000000000000000", "to": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "value": "0xDE0B6B3A7640000" },8["trace"]9],10[11{ "from": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "to": "0x0000000000000000000000000000000000000001", "value": "0x1" },12["trace"]13]14],15"최신",16]);17콘솔.log(응답);18})();19
1var myHeaders = new Headers();2myHeaders.추가("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "trace_callMany",6"params": [7[8[9{ "from": "0x0000000000000000000000000000000000000000", "to": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "value": "0xDE0B6B3A7640000" },10["trace"]11],12[13{ "from": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "to": "0x0000000000000000000000000000000000000001", "value": "0x1" },14["trace"]15]16],17"최신"18],19"id": 1,20"jsonrpc": "2.0"21});2223var requestOptions = {24메서드: 'POST',25헤더: myHeaders,26본문: raw,27리디렉션: 'follow'28};2930가져오기("mainnet", requestOptions)31.그런 다음(응답 => 응답.text())32.그런 다음(결과 => console.log(result))33.catchcatch (오류 => console.log('error', error));34
1var myHeaders = new Headers();2myHeaders.추가("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "trace_callMany",6"params": [7[8[9{ "from": "0x0000000000000000000000000000000000000000", "to": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "value": "0xDE0B6B3A7640000" },10["trace"]11],12[13{ "from": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "to": "0x0000000000000000000000000000000000000001", "value": "0x1" },14["trace"]15]16],17"최신"18],19"id": 1,20"jsonrpc": "2.0"21});2223var requestOptions = {24메서드: 'POST',25헤더: myHeaders,26본문: raw,27리디렉션: 'follow'28};2930가져오기("mainnet", requestOptions)31.그런 다음(응답 => 응답.text())32.그런 다음(결과 => console.log(result))33.catchcatch (오류 => console.log('error', error));34
1import 요청2import json34url = "mainnet"56페이로드 = json.dumps({7"method": "trace_callMany",8"params": [9[10[11{ "from": "0x0000000000000000000000000000000000000000", "to": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "value": "0xDE0B6B3A7640000" },12["trace"]13],14[15{ "from": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "to": "0x0000000000000000000000000000000000000001", "value": "0x1" },16["trace"]17]18],19"최신"20],21"id": 1,22"jsonrpc": "2.0"23})24헤더 = {25'Content-Type': 'application/json'26}2728답변 = 요청.요청("POST", url, 헤더=헤더, 데이터=페이로드)2930인쇄(응답.text)31
1import 요청2import json34url = "mainnet"56페이로드 = json.dumps({7"method": "trace_callMany",8"params": [9[10[11{ "from": "0x0000000000000000000000000000000000000000", "to": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "value": "0xDE0B6B3A7640000" },12["trace"]13],14[15{ "from": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "to": "0x0000000000000000000000000000000000000001", "value": "0x1" },16["trace"]17]18],19"최신"20],21"id": 1,22"jsonrpc": "2.0"23})24헤더 = {25'Content-Type': 'application/json'26}2728답변 = 요청.요청("POST", url, 헤더=헤더, 데이터=페이로드)2930인쇄(응답.text)31
1require "uri"2require "json"3require "net/http"45url = URI("mainnet")67https = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::POST.새(URL)11요청["Content-Type"] = "application/json"12요청.본문 = JSON.dump({13"method": "trace_callMany",14"params": [15[16[17{ "from": "0x0000000000000000000000000000000000000000", "to": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "value": "0xDE0B6B3A7640000" },18["trace"]19],20[21{ "from": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "to": "0x0000000000000000000000000000000000000001", "value": "0x1" },22["trace"]23]24],25"최신"26],27"id": 1,28"jsonrpc": "2.0"29})3031답변 = https.요청(요청)32응답을 반환합니다.read_body33
1require "uri"2require "json"3require "net/http"45url = URI("mainnet")67https = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::POST.새(URL)11요청["Content-Type"] = "application/json"12요청.본문 = JSON.dump({13"method": "trace_callMany",14"params": [15[16[17{ "from": "0x0000000000000000000000000000000000000000", "to": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "value": "0xDE0B6B3A7640000" },18["trace"]19],20[21{ "from": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "to": "0x0000000000000000000000000000000000000001", "value": "0x1" },22["trace"]23]24],25"최신"26],27"id": 1,28"jsonrpc": "2.0"29})3031답변 = https.요청(요청)32응답을 반환합니다.read_body33
1출처: web3 import HTTPProvider2client = HTTPProvider('https://docs-demo.hype-mainnet.quiknode.pro/evm')3params = [[[{"from": "0x0000000000000000000000000000000000000000", "to": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "value": "0xDE0B6B3A7640000"}, ["trace"]], [{"from": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "to": "0x0000000000000000000000000000000000000001", "value": "0x1"}, ["trace"]]], "latest"]4response = client.make_request('trace_callMany', params)5인쇄(응답)6
1출처: web3 import HTTPProvider2client = HTTPProvider('https://docs-demo.hype-mainnet.quiknode.pro/evm')3params = [[[{"from": "0x0000000000000000000000000000000000000000", "to": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "value": "0xDE0B6B3A7640000"}, ["trace"]], [{"from": "0x742d35Cc6634C0532925a3b844Bc454e6595f0bE", "to": "0x0000000000000000000000000000000000000001", "value": "0x1"}, ["trace"]]], "latest"]4response = client.make_request('trace_callMany', params)5인쇄(응답)6