Installation and usage of the platform

gRPC: retrieving auxiliary information

Use the UtilPublicService service to retrieve auxiliary information.

Obtaining the current node time

The UtilPublicService has one method: GetNodeTime, described in the util_public_service.proto protobuf file. Use this method to get the current node time. The method does not require any additional query parameters.

Important

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

The method returns the current node time in two formats:

  • system – the system time of the node PC;

  • ntp – network time.

See also