trace_callMany

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

Parameters

  1. Array - List of trace calls with the type of trace, one or more of: "vmTrace", "trace", "stateDiff".

  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://eth-mainnet.blastapi.io/<project-id>
-X POST \
-H "Content-Type: application/json" \
-d '{"method":"trace_call",
    "params":[{
      "from": "0x6f1FB6EFDf50F34bFA3F2bC0E5576EdD71631638",
      "to": "0x1E0447b19BB6EcFdAe1e4AE1694b0C3659614e4e",
      "value": "0x0",
      "data": "0xa67a6a45000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000"},
      ["trace"]],
    "id":1,
    "jsonrpc":"2.0"}'

Result

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": [{
        "output": "0x",
        "stateDiff": null,
        "trace": [{
            "action": {
                "from": "0x407d73d8a49eeb85d32cf465507dd71d507100c1",
                "callType": "call",
                "gas": "0x2fa9e78",
                "input": "0x",
                "to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
                "value": "0x186a0"
            },
            "result": {
                "gasUsed": "0x0",
                "output": "0x"
            },
            "subtraces": 0,
            "traceAddress": [],
            "type": "call"
        }],
        "vmTrace": null
    }, {
        "output": "0x",
        "stateDiff": null,
        "trace": [{
            "action": {
                "from": "0x407d73d8a49eeb85d32cf465507dd71d507100c1",
                "callType": "call",
                "gas": "0x2fa9e78",
                "input": "0x",
                "to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
                "value": "0x186a0"
            },
            "result": {
                "gasUsed": "0x0",
                "output": "0x"
            },
            "subtraces": 0,
            "traceAddress": [],
            "type": "call"
        }],
        "vmTrace": null
    }]
}

Last updated