Skip to main content

Interacting with gRPC

A gRPC endpoint is availble on the public Sentinel Nodes so that you can start playing and intreacting with it right away.

Enabling gRPC on a node

If you are running your own node. It's also possible to enable them by editing ~/.sentinelhub/config/app.toml:

  • grpc.enable = true|false field defines if the gRPC server should be enabled. Defaults to true.
  • grpc.address = {string} field defines the address (really, the port, since the host should be kept at 0.0.0.0) the server should bind to. Defaults to 0.0.0.0:9090.

Grpc endpoints

An overview of all available gRPC endpoints shipped with Sentinel are be available in the Sentinel Protobuf documentation. There is also a Cosmos SDK in Protobuf documentation.

You can send requests to the gRPC server using a gRPC client such as grpcurl or from Buf Studio.

Since the code generation library largely depends on your own tech stack, we will only present three alternatives:

Generating docs

brew install protobuf
brew install protoc-gen-go-grpc