Links
Comment on page

arbtrace_callMany

Performs multiple call traces on top of the same block. Allows tracing of dependent transactions.

Parameters

  1. 1.
    Array - List of trace calls with the type of trace, one or more of: "vmTrace", "trace", "stateDiff".
  2. 2.
    Quantity or Tag - (optional) integer block number, or the string 'latest', 'earliest' or 'pending', see the default block parameter.

Returns

  • Array - Array of the given transactions’ traces

Example

Request
curl https://arbitrum-one.blastapi.io/<project-id>
-X POST \
-H "Content-Type: application/json" \
-d '{
"method": "arbtrace_callMany",
"params": [
[
[
{
"from": null,
"to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value": "0x186a0"
},
[
"trace"
]
],
[
{
"from": null,
"to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value": "0x186a0"
},
[
"trace"
]
]
],
"latest"
],
"id": 1,
"jsonrpc": "2.0"
}'
Result
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"output": "0x",
"stateDiff": null,
"trace": [
{
"action": {
"callType": "call",
"from": "0x0000000000000000000000000000000000000000",
"gas": "0x7fffffff",
"input": "0x",
"to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value": "0x186a0"
},
"result": {
"gasUsed": "0x0",
"output": "0x"
},
"subtraces": 0,
"traceAddress": [],
"type": "call"
}
],
"vmTrace": null,
"destroyedContracts": null
},
{
"output": "0x",
"stateDiff": null,
"trace": [
{
"action": {
"callType": "call",
"from": "0x0000000000000000000000000000000000000000",
"gas": "0x7fffffff",
"input": "0x",
"to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value": "0x186a0"
},
"result": {
"gasUsed": "0x0",
"output": "0x"
},
"subtraces": 0,
"traceAddress": [],
"type": "call"
}
],
"vmTrace": null,
"destroyedContracts": null
}
]
}