Installation and usage of the platform

gRPC: obtaining information about UTX pool size

The UtxInfo query about the UTX pool size is sent as a subscription: after it is sent, the response from the node comes once per second.

This request requires no additional parameters and is described in the transaction_public_service.proto file.

In response to the query the UtxSize message is returned, which contains two parameters:

  • size – UTX pool size in kilobytes;

  • size_in_bytes – UTX pool size in bytes.

Important

The field data types for the request and response are specified in the protobuf files.

Note

The number of transactions in UTX pool can be retrieved using the GET /transactions/unconfirmed/size REST method.

See also