Skip to main content
GET
/
api
/
v2
/
getOutMsgQueueSize
Get outbound message queue size
curl --request GET \
  --url https://toncenter.com/api/v2/getOutMsgQueueSize \
  --header 'X-API-Key: <api-key>'
{
  "ok": true,
  "result": {
    "@type": "blocks.outMsgQueueSizes",
    "shards": [
      {
        "@type": "blocks.outMsgQueueSize",
        "id": {
          "@type": "ton.blockIdExt",
          "workchain": 123,
          "shard": "<string>",
          "seqno": 123,
          "root_hash": "<string>",
          "file_hash": "<string>"
        },
        "size": 123
      }
    ],
    "ext_msg_queue_size_limit": 123
  },
  "@extra": "<string>"
}

Authorizations

X-API-Key
string
header
required

Response

OK

Response containing outbound message queue sizes.

ok
boolean
default:true
required

Indicates if the request succeeded. If false, check the error field for details.

result
object
required

The response data. Only present when ok is true.

@extra
string

Optional request ID that you can pass in the request and receive back in the response. Useful for matching async responses.