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

# getOutMsgQueueSizes

> Retrieves current outgoing message queue sizes by TON shard.

### 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="getOutMsgQueueSizes" required>
  JSON-RPC method name.
</ParamField>

This method does not require any parameters.

### Returns

<ResponseField name="result" type="object">
  Outgoing message queue sizes for all reported TON shards.

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

    <ResponseField name="shards" type="array">
      Per-shard outgoing message queue sizes.

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

            <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="size" type="integer">
              Current outgoing message queue size for the shard.
            </ResponseField>
          </Expandable>
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="ext_msg_queue_size_limit" type="integer">
      External message queue size limit.
    </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": "getOutMsgQueueSizes",
      "params": []
    }'
  ```
</RequestExample>

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