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

# getBlockTransactionsExt

> Retrieves extended transaction objects 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="getBlockTransactionsExt" required>
  JSON-RPC method name.
</ParamField>

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

  Parameters for <code>getBlockTransactionsExt</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="array">
  Extended TON transactions.

  <Expandable title="items">
    <ResponseField name="items[]" type="object">
      TON raw transaction.

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

        <ResponseField name="utime" type="integer">
          Transaction Unix timestamp.
        </ResponseField>

        <ResponseField name="data" type="string">
          Serialized transaction data.
        </ResponseField>

        <ResponseField name="transaction_id" type="object">
          TON internal transaction identifier.

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

            <ResponseField name="lt" type="string">
              Transaction logical time.
            </ResponseField>

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

        <ResponseField name="fee" type="string">
          Total transaction fee in nanotons.
        </ResponseField>

        <ResponseField name="storage_fee" type="string">
          Storage fee in nanotons.
        </ResponseField>

        <ResponseField name="other_fee" type="string">
          Other fees in nanotons.
        </ResponseField>

        <ResponseField name="in_msg" type="object">
          TON raw message.

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

            <ResponseField name="source" type="string">
              Source TON address.
            </ResponseField>

            <ResponseField name="destination" type="string">
              Destination TON address.
            </ResponseField>

            <ResponseField name="value" type="string">
              Message value in nanotons.
            </ResponseField>

            <ResponseField name="fwd_fee" type="string">
              Forwarding fee in nanotons.
            </ResponseField>

            <ResponseField name="ihr_fee" type="string">
              Instant hypercube routing fee.
            </ResponseField>

            <ResponseField name="created_lt" type="string">
              Logical time when the message was created.
            </ResponseField>

            <ResponseField name="body_hash" type="string">
              Message body hash.
            </ResponseField>

            <ResponseField name="msg_data" type="object">
              Decoded or raw message data.

              <Expandable title="properties">
                <ResponseField name="@type" type="string">
                  Message data type marker.
                </ResponseField>

                <ResponseField name="body" type="string">
                  Base64-encoded message body.
                </ResponseField>

                <ResponseField name="text" type="string">
                  Base64-encoded message text.
                </ResponseField>

                <ResponseField name="init_state" type="string">
                  Base64-encoded initial state, when present.
                </ResponseField>
              </Expandable>
            </ResponseField>

            <ResponseField name="message" type="string">
              Decoded message text when available.
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="out_msgs" type="array">
          Outgoing messages emitted by the transaction.

          <Expandable title="items">
            <ResponseField name="items[]" type="object">
              TON raw message.

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

                <ResponseField name="source" type="string">
                  Source TON address.
                </ResponseField>

                <ResponseField name="destination" type="string">
                  Destination TON address.
                </ResponseField>

                <ResponseField name="value" type="string">
                  Message value in nanotons.
                </ResponseField>

                <ResponseField name="fwd_fee" type="string">
                  Forwarding fee in nanotons.
                </ResponseField>

                <ResponseField name="ihr_fee" type="string">
                  Instant hypercube routing fee.
                </ResponseField>

                <ResponseField name="created_lt" type="string">
                  Logical time when the message was created.
                </ResponseField>

                <ResponseField name="body_hash" type="string">
                  Message body hash.
                </ResponseField>

                <ResponseField name="msg_data" type="object">
                  Decoded or raw message data.

                  <Expandable title="properties">
                    <ResponseField name="@type" type="string">
                      Message data type marker.
                    </ResponseField>

                    <ResponseField name="body" type="string">
                      Base64-encoded message body.
                    </ResponseField>

                    <ResponseField name="text" type="string">
                      Base64-encoded message text.
                    </ResponseField>

                    <ResponseField name="init_state" type="string">
                      Base64-encoded initial state, when present.
                    </ResponseField>
                  </Expandable>
                </ResponseField>

                <ResponseField name="message" type="string">
                  Decoded message text when available.
                </ResponseField>
              </Expandable>
            </ResponseField>
          </Expandable>
        </ResponseField>
      </Expandable>
    </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": "getBlockTransactionsExt",
      "params": {}
    }'
  ```
</RequestExample>

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