Skip to main content

Parameters

chainId
string
default:"8453"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"trace_callMany"
required
JSON-RPC method name.
params
object
required
Parameters for the trace call method: [traceCalls, block identifier]. The first element is an array of trace calls; the second is an optional block identifier.Positional parameters for trace_callMany:
  • params[0]: List of trace calls. Each trace call is an array of two items: a transaction object and an array of trace types.
  • params[1]: Block identifier. Can be an integer block number or a string tag: “latest”, “earliest”, or “pending”.

Returns

result
array
Array - Array of the given transactions’ traces
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=8453 \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "trace_callMany",
    "params": [
      [],
      0
    ]
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    {
      "output": "0x",
      "stateDiff": null,
      "trace": [
        {
          "__truncated": true
        }
      ],
      "vmTrace": null
    },
    {
      "output": "0x",
      "stateDiff": null,
      "trace": [
        {
          "__truncated": true
        }
      ],
      "vmTrace": null
    }
  ]
}