mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 21:09:11 +00:00
34 lines
1.5 KiB
Protocol Buffer
34 lines
1.5 KiB
Protocol Buffer
syntax = "proto3";
|
|
package dwn.v1;
|
|
|
|
import "google/api/annotations.proto";
|
|
import "dwn/v1/genesis.proto";
|
|
|
|
option go_package = "github.com/onsonr/sonr/x/dwn/types";
|
|
|
|
// ╭─────────────────────────────────────────────────────────╮
|
|
// │ RPC Query Service │
|
|
// ╰─────────────────────────────────────────────────────────╯
|
|
|
|
// Query provides defines the gRPC querier service.
|
|
service Query {
|
|
// Params queries all parameters of the module.
|
|
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
|
|
option (google.api.http).get = "/vault/v1/params";
|
|
}
|
|
}
|
|
|
|
// ╭──────────────────────────────────────────────────────────╮
|
|
// │ RPC Query Messages │
|
|
// ╰──────────────────────────────────────────────────────────╯
|
|
|
|
// QueryParamsRequest is the request type for the Query/Params RPC method.
|
|
message QueryParamsRequest {}
|
|
|
|
// QueryParamsResponse is the response type for the Query/Params RPC method.
|
|
message QueryParamsResponse {
|
|
// params defines the parameters of the module.
|
|
Params params = 1;
|
|
}
|
|
|