Skip to main content

Parameters

calls
array
required
Array of [transaction, traceTypes] pairs
blockNumber
string
Block number (hex), or latest

Returns

traces
array
Array of trace results

Example

curl -X POST "https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "method": "trace_callMany", "params": [[[{"to": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}], ["trace"]], "latest"], "id": 1}'
const response = await fetch('https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
  "jsonrpc": "2.0",
  "method": "trace_callMany",
  "params": [
    [
      [
        {
          "to": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
        }
      ],
      [
        "trace"
      ]
    ],
    "latest"
  ],
  "id": 1
})
});
const { result } = await response.json();
console.log(result);
import requests

response = requests.post(
    'https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET',
    json={
  "jsonrpc": "2.0",
  "method": "trace_callMany",
  "params": [
    [
      [
        {
          "to": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
        }
      ],
      [
        "trace"
      ]
    ],
    "latest"
  ],
  "id": 1
}
)
print(response.json()['result'])