Skip to main content

Parameters

chainId
string
default:"42161"
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:"arbtrace_callMany"
required
JSON-RPC method name.
params
object
required
An array with two elements: an array of call + traceType pairs, and a block tag or number.Positional parameters for arbtrace_callMany:
  • params[0]: List of transaction call + trace type tuples to simulate sequentially.
  • params[1]: Block number or tag (e.g., latest, pending) to simulate the calls on.

Returns

result
array
Array of trace result objects, one per simulated transaction.
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=42161 \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "arbtrace_callMany",
    "params": [
      [
        [
          [
            {
              "from": null,
              "to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
              "value": "0x186a0"
            },
            [
              "trace"
            ]
          ],
          [
            {
              "from": null,
              "to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
              "value": "0x186a0"
            },
            [
              "trace"
            ]
          ]
        ],
        "latest"
      ]
    ]
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": []
}