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

# arbtrace_block

> Returns execution traces for all transactions in the specified block. Only available on OpenEthereum & Erigon clients for blocks before 22207816. Trace mode must be enabled.

### Parameters

<ParamField query="chainId" type="string" default="42170" required>
  Unique identifier for a blockchain network.
</ParamField>

<ParamField body="id" type="number" default={1} required>
  Request identifier used to match responses.
</ParamField>

<ParamField body="jsonrpc" type="string" default="2.0" required>
  JSON-RPC version.
</ParamField>

<ParamField body="method" type="string" default="arbtrace_block" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={["0xb48c3c"]} placeholder="[&#x22;0xb48c3c&#x22;]" required>
  Array containing a single block number (as hex) or tag (e.g., "latest").

  Positional parameters for <code>arbtrace\_block</code>:

  <ul>
    <li><code>params\[]</code>: The block number (hex) or tag ("latest", "pending").</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="array">
  List of trace objects for all transactions in the block.

  <Expandable title="items">
    <ResponseField name="items[]" type="object">
      <Expandable title="properties">
        <ResponseField name="action" type="object">
          Details of the call or contract creation.

          <Expandable title="properties">
            <ResponseField name="from" type="string">
              Sender address
            </ResponseField>

            <ResponseField name="callType" type="string">
              Call type (call, delegatecall, etc.)
            </ResponseField>

            <ResponseField name="gas" type="string">
              Gas provided (hex)
            </ResponseField>

            <ResponseField name="input" type="string">
              Input data
            </ResponseField>

            <ResponseField name="to" type="string">
              Receiver address
            </ResponseField>

            <ResponseField name="value" type="string">
              Value sent (hex)
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="blockHash" type="string">
          Hash of the block
        </ResponseField>

        <ResponseField name="blockNumber" type="string">
          Block number (hex)
        </ResponseField>

        <ResponseField name="error" type="string">
          Error message if the trace failed
        </ResponseField>

        <ResponseField name="result" type="object">
          Result of the traced call

          <Expandable title="properties">
            <ResponseField name="gasUsed" type="string">
              Gas used in the call
            </ResponseField>

            <ResponseField name="output" type="string">
              Output returned by the contract call
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="subtraces" type="integer">
          Number of internal calls
        </ResponseField>

        <ResponseField name="traceAddress" type="array">
          List representing call nesting path

          <Expandable title="items">
            <ResponseField name="items[]" type="integer" />
          </Expandable>
        </ResponseField>

        <ResponseField name="transactionHash" type="string">
          Hash of the related transaction
        </ResponseField>

        <ResponseField name="transactionPosition" type="integer">
          Index of the transaction in the block
        </ResponseField>

        <ResponseField name="type" type="string">
          Trace type (call, create)
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash Curl theme={null}
  curl --request POST \
    --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=42170 \
    --header 'content-type: application/json' \
    --data '{
      "id": 1,
      "jsonrpc": "2.0",
      "method": "arbtrace_block",
      "params": [
        "0xb48c3c"
      ]
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": []
  }
  ```
</ResponseExample>
