gRPC V2 documentation#

The gRPC v2 API has a much more detailed schema definition, and does not rely on JSON responses as the now deprecated gRPC v1 API did. It also supports streaming responses in cases where there is a lot of data, and supports subscribing to new blocks.

The V2 interface enables access to the same data as the now deprecated V1 interface, but in addition supports new endpoints, such as the ability to retrieve the entire smart contract state.

The original gRPC interface has been deprecated in all node distributions as of December 5th, 2023.

The in-depth documentation of the new interface lists and documents all the endpoints.

For best experience, the interface should be used through an SDK. However, the new interface makes it substantially easier to build an SDK since there is a canonical schema of responses.

At present the following SDKs support gRPC v2:

Was this article helpful?
Legal information