Skip to main content

Cosmos gRPC & REST

Cosmos gRPC

For each integrated Cosmos SDK module, Humans.ai supports gRPC endpoints. This makes interacting with the Proof-of-Stake logic and native Cosmos transactions and queries easier for wallets and block explorers.

Cosmos HTTP REST (gRPC-Gateway)

gRPC-Gateway produces a reverse-proxy server that converts RESTful JSON API into gRPC by reading a gRPC service specification. Users can communicate with the Cosmos gRPC service using REST thanks to the gRPC-Gateway. The list of gRPC-Gateway API endpoints that accept Swagger is available here.