Generated from
cosmos/cosmos-sdk@c1126e4e5460 on ref main.Queries
A node exposes only the services its application registers:- gRPC on port 9090
- REST on port 1317, if the method has an HTTP binding
grpcurl -plaintext localhost:9090 list to see what a node serves.
Queries are read-only and never pass through consensus. See Queries.
Replace <string> placeholders with real values and omit unused filters. Payloads use protobuf JSON, and some string fields accept enum constants listed under Types. Field tables give the encoding each value takes.
Examples assume a local node. For TLS endpoints, use port 443 and omit -plaintext. See gRPC services for reflection, address formats, and decimal encoding.
CurrentEpoch
CurrentEpoch provide current epoch of specified identifier
Request
QueryCurrentEpochRequest:
Response
QueryCurrentEpochResponse:
EpochInfos
EpochInfos provide running epochInfos
Request
QueryEpochInfosRequest:
This message has no fields.
Response QueryEpochInfosResponse:
Types
Messages referenced by the fields above. Protocol buffers version 3 has no required fields, so every field is optional on the wire, and a[] suffix marks a repeated field.