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

# getBlockTransactions

> Retrieves transactions from a specific TON block.

### Parameters

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

<ParamField body="params" type="object" default={{}} required>
  TON block transaction request.

  Parameters for <code>getBlockTransactions</code>:

  <ul>
    <li><code>params.workchain</code>: Block workchain ID. The masterchain uses -1.</li>
    <li><code>params.shard</code>: Block shard ID encoded as a signed 64-bit integer string.</li>
    <li><code>params.seqno</code>: Block sequence number.</li>
    <li><code>params.count</code>: Maximum number of transactions to return.</li>
    <li><code>params.after\_lt</code>: Transaction logical time to page after.</li>
    <li><code>params.after\_hash</code>: Transaction hash to page after.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="object">
  Transactions included in a TON block.

  <Expandable title="properties">
    <ResponseField name="@type" type="string" />

    <ResponseField name="id" type="object">
      TON extended block identifier.

      <Expandable title="properties">
        <ResponseField name="@type" type="string">
          TON object type marker.
        </ResponseField>

        <ResponseField name="workchain" type="integer">
          Block workchain ID. The masterchain uses -1.
        </ResponseField>

        <ResponseField name="shard" type="string">
          Block shard ID encoded as a signed 64-bit integer string.
        </ResponseField>

        <ResponseField name="seqno" type="integer">
          Block sequence number.
        </ResponseField>

        <ResponseField name="root_hash" type="string">
          Block root hash.
        </ResponseField>

        <ResponseField name="file_hash" type="string">
          Block file hash.
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="req_count" type="integer">
      Requested transaction count.
    </ResponseField>

    <ResponseField name="incomplete" type="boolean">
      Whether more transactions are available.
    </ResponseField>

    <ResponseField name="transactions" type="array">
      Block transaction references.

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

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

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

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

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

    <ResponseField name="@extra" type="string">
      Provider-specific response metadata.
    </ResponseField>
  </Expandable>
</ResponseField>

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

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