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

> Returns additional ZKsync-specific information about the L2 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_getBlockDetails" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={[140599]} placeholder="[140599]" required>
  Positional parameters for <code>zks\_getBlockDetails</code>:

  <ul>
    <li><code>params\[]</code>: The number of the L2 block to fetch details for.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="object">
  Detailed information about a ZKsync L2 block.

  <Expandable title="properties">
    <ResponseField name="baseSystemContractsHashes" type="object">
      <Expandable title="properties">
        <ResponseField name="bootloader" type="string" />

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    <ResponseField name="timestamp" type="integer" />
  </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_getBlockDetails",
      "params": [
        140599
      ]
    }'
  ```
</RequestExample>

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