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 every 1 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.

See also