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.Parameters
array
array
REQUIRED
Loading...
object
object
Loading...
from
string
Loading...
to
string
REQUIRED
Loading...
gas
integer
Loading...
gasPrice
integer
Loading...
value
integer
Loading...
data
string
Loading...
array
array
Loading...
blockNumber
string
REQUIRED
Loading...
Returns
array
array
Loading...
output
string
Loading...
stateDiff
object
Loading...
trace
array
Loading...
action
object
Loading...
from
string
Loading...
callType
string
Loading...
gas
string
Loading...
input
string
Loading...
to
string
Loading...
value
string
Loading...
result
object
Loading...
gasUsed
string
Loading...
output
string
Loading...
subtraces
integer
Loading...
traceAddress
array
Loading...
type
string
Loading...
vmTrace
object
Loading...
Request
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \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
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \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
1require 'eth'23client = Eth::Client.create 'https://docs-demo.hype-mainnet.quiknode.pro/evm'4payload = {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}1011response = client.send(payload.to_json)12puts response13
1require 'eth'23client = Eth::Client.create 'https://docs-demo.hype-mainnet.quiknode.pro/evm'4payload = {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}1011response = client.send(payload.to_json)12puts response13
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"latest",16]);17console.log(response);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"latest",16]);17console.log(response);18})();19
1var myHeaders = new Headers();2myHeaders.append("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"latest"18],19"id": 1,20"jsonrpc": "2.0"21});2223var requestOptions = {24method: 'POST',25headers: myHeaders,26body: raw,27redirect: 'follow'28};2930fetch("https://docs-demo.hype-mainnet.quiknode.pro/evm", requestOptions)31.then(response => response.text())32.then(result => console.log(result))33.catch(error => console.log('error', error));34
1var myHeaders = new Headers();2myHeaders.append("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"latest"18],19"id": 1,20"jsonrpc": "2.0"21});2223var requestOptions = {24method: 'POST',25headers: myHeaders,26body: raw,27redirect: 'follow'28};2930fetch("https://docs-demo.hype-mainnet.quiknode.pro/evm", requestOptions)31.then(response => response.text())32.then(result => console.log(result))33.catch(error => console.log('error', error));34
1import requests2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/evm"56payload = 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"latest"20],21"id": 1,22"jsonrpc": "2.0"23})24headers = {25'Content-Type': 'application/json'26}2728response = requests.request("POST", url, headers=headers, data=payload)2930print(response.text)31
1import requests2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/evm"56payload = 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"latest"20],21"id": 1,22"jsonrpc": "2.0"23})24headers = {25'Content-Type': 'application/json'26}2728response = requests.request("POST", url, headers=headers, data=payload)2930print(response.text)31
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/evm")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": "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"latest"26],27"id": 1,28"jsonrpc": "2.0"29})3031response = https.request(request)32puts response.read_body33
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/evm")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": "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"latest"26],27"id": 1,28"jsonrpc": "2.0"29})3031response = https.request(request)32puts response.read_body33
1from 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)5print(response)6
1from 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)5print(response)6
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free