Generated from
cosmos/cosmos-sdk@2086680ff8b0 on ref release/v0.55.x.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.
GetCount
GetCount queries the parameters of x/Counter module.
Request
QueryGetCountRequest:
This message has no fields.
Response QueryGetCountResponse:
Transaction messages
These messages are included in signed transactions, not called as endpoints. See Transactions for the execution model, and Sending transactions for the envelope they go into. Examples use CLI transaction JSON. Decimal fields use values such as"0.05", even when their proto type is bytes. The gRPC TxEncode method instead requires the scaled value "50000000000000000". See scalar encodings.
- Handler: Generated client method
- Signer: Account that must sign
- Amino name: Legacy identifier used by hardware wallets and other Amino signers
IncreaseCount
IncreaseCount increments the counter by the specified amount.
In a transaction:
MsgIncreaseCountResponse: