block-sdk/proto/pob/builder/v1/query.proto
2023-05-04 16:07:48 -04:00

27 lines
886 B
Protocol Buffer

syntax = "proto3";
package pob.builder.v1;
import "gogoproto/gogo.proto";
import "google/api/annotations.proto";
import "cosmos/query/v1/query.proto";
import "pob/builder/v1/genesis.proto";
option go_package = "github.com/skip-mev/pob/x/builder/types";
// Query defines the x/builder querier service.
service Query {
// Params queries the parameters of the x/builder module.
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
option (cosmos.query.v1.module_query_safe) = true;
option (google.api.http).get = "/pob/builder/v1/params";
}
}
// 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 [ (gogoproto.nullable) = false ];
}