> ## 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.

# zks_getRawBlockTransactions

> Returns data about the transactions in the specified block.

### Parameters

<ParamField query="chainId" type="string" default="11124" 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="zks_getRawBlockTransactions" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={[5817]} placeholder="[5817]">
  Block number to get raw transaction data from.

  Positional parameters for <code>zks\_getRawBlockTransactions</code>:

  <ul>
    <li><code>params\[]</code>: The L2 block number.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="array">
  List of executed transactions in the given block.

  <Expandable title="items">
    <ResponseField name="items[]" type="object">
      <Expandable title="properties">
        <ResponseField name="common_data" type="object">
          <Expandable title="properties">
            <ResponseField name="L1" type="object">
              <Expandable title="properties">
                <ResponseField name="canonicalTxHash" type="string" />

                <ResponseField name="deadlineBlock" type="integer" />

                <ResponseField name="ethBlock" type="integer" />

                <ResponseField name="ethHash" type="string" />

                <ResponseField name="fullFee" type="string" />

                <ResponseField name="gasLimit" type="string" />

                <ResponseField name="gasPerPubdataLimit" type="string" />

                <ResponseField name="layer2TipFee" type="string" />

                <ResponseField name="maxFeePerGas" type="string" />

                <ResponseField name="opProcessingType" type="string" />

                <ResponseField name="priorityQueueType" type="string" />

                <ResponseField name="refundRecipient" type="string" />

                <ResponseField name="sender" type="string" />

                <ResponseField name="serialId" type="integer" />

                <ResponseField name="toMint" type="string" />
              </Expandable>
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="execute" type="object">
          <Expandable title="properties">
            <ResponseField name="calldata" type="string" />

            <ResponseField name="contractAddress" type="string" />

            <ResponseField name="factoryDeps" type="array">
              <Expandable title="items">
                <ResponseField name="items[]" type="string" />
              </Expandable>
            </ResponseField>

            <ResponseField name="value" type="string" />
          </Expandable>
        </ResponseField>

        <ResponseField name="received_timestamp_ms" type="integer">
          The timestamp in milliseconds the transaction was received.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

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

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