getOutMsgQueueSizes - Ton
getOutMsgQueueSizes. Retrieves the sizes of outgoing message queues for specified addresses, providing insights into message processing and network load.
getOutMsgQueueSizes - ton [Value: 100CU]
Retrieves the sizes of outgoing message queues for specified addresses, providing insights into message processing and network load.
Use cases
- Retrieve the sizes of outgoing message queues
- Monitor message traffic in the TON network
- Analyze performance metrics of message processing
Constraints
- Requires a synced node for accurate data
- Only provides information on active queues
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl --request GET \
--url 'https://ton.drpc.org/rest/getOutMsgQueueSizes' \
--header 'accept: application/json'
Response
200
{
"status": "success",
"data": {
"queue_sizes": {
"workchain_0": {
"shard_0": 10,
"shard_1": 5
},
"workchain_1": {
"shard_0": 15,
"shard_1": 3
}
}
}
}
Request params
Response
200
Response params
object
statusstring
Indicates the status of the response (e.g., success or error).
dataobject
Contains the main data of the response.
object
queue_sizesobject
Object containing the sizes of queues for each workchain.
object
workchain_0object
Queue sizes for workchain 0.
object
shard_0integer
Size of the queue for shard 0 in workchain 0.
shard_1integer
Size of the queue for shard 1 in workchain 0.
workchain_1object
Queue sizes for workchain 1.
object
shard_0integer
Size of the queue for shard 0 in workchain 1.
shard_1integer
Size of the queue for shard 1 in workchain 1.