> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# trace_callMany | Arc

> Arc API method that traces multiple calls in sequence using the OpenEthereum trace format. Each call's state changes are visible to subsequent calls.

Arc API method that traces multiple calls in sequence using the OpenEthereum trace format. Each call's state changes are visible to subsequent calls.

## Parameters

* `calls` — an array of call bundles, where each bundle is an array of `[callObject, traceTypes]` pairs
* `blockParameter` — (optional) the block number (hex) or tag (`latest`, `earliest`, `pending`)

## Response

* `result` — an array of trace results, one for each call.

## `trace_callMany` code examples

<CodeGroup>
  ```bash cURL theme={"system"}
  curl -X POST "CHAINSTACK_NODE_URL" \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc": "2.0", "method": "trace_callMany", "params": [[[{"to": "0x20c0000000000000000000000000000000000000", "data": "0x95d89b41"}, ["trace"]]], "latest"], "id": 1}'
  ```
</CodeGroup>


## OpenAPI

````yaml openapi/arc_node_api/debug_and_trace/trace_callMany.json POST /
openapi: 3.0.0
info:
  title: Chainstack Node API
  version: 1.0.0
  description: This is an API for interacting with a Chainstack node.
servers:
  - url: https://arc-testnet.core.chainstack.com/6caa7fd90475ac9214f7521dd460fa7c
security: []
paths:
  /:
    post:
      tags:
        - upload
      summary: trace_callMany
      operationId: trace_callMany
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: trace_callMany
                params:
                  type: array
                  default:
                    - - - from: '0x5d20879655df3c1e04ab111af0009ad650e762f0'
                          to: '0x7798f2eb73c1dd8fa8086d780d5cf114a10f528e'
                          gas: '0xf4240'
                          data: 0x
                        - - trace
                    - latest
      responses:
        '200':
          description: Returns the result of trace_callMany.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: array
                    items:
                      type: object
                      properties:
                        output:
                          type: string
                        stateDiff:
                          type: object
                          nullable: true
                        trace:
                          type: array
                          items:
                            type: object
                            properties:
                              type:
                                type: string
                              action:
                                type: object
                                properties:
                                  from:
                                    type: string
                                  callType:
                                    type: string
                                  gas:
                                    type: string
                                  input:
                                    type: string
                                  to:
                                    type: string
                                  value:
                                    type: string
                              error:
                                type: string
                              result:
                                type: object
                                properties:
                                  gasUsed:
                                    type: string
                                  output:
                                    type: string
                              subtraces:
                                type: integer
                              traceAddress:
                                type: array
                                items:
                                  type: object
                        vmTrace:
                          type: object
                          nullable: true
              example:
                jsonrpc: '2.0'
                id: 1
                result:
                  - output: 0x
                    stateDiff: null
                    trace:
                      - type: call
                        action:
                          from: '0x5d20879655df3c1e04ab111af0009ad650e762f0'
                          callType: call
                          gas: '0xef038'
                          input: 0x
                          to: '0x7798f2eb73c1dd8fa8086d780d5cf114a10f528e'
                          value: '0x0'
                        error: Reverted
                        result:
                          gasUsed: '0x2e'
                          output: 0x
                        subtraces: 0
                        traceAddress: []
                    vmTrace: null

````