// @generated by protoc-gen-connect-es v1.1.3 with parameter "target=ts" // @generated from file cosmos/base/tendermint/v1beta1/query.proto (package cosmos.base.tendermint.v1beta1, syntax proto3) /* eslint-disable */ // @ts-nocheck import { ABCIQueryRequest, ABCIQueryResponse, GetBlockByHeightRequest, GetBlockByHeightResponse, GetLatestBlockRequest, GetLatestBlockResponse, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetNodeInfoRequest, GetNodeInfoResponse, GetSyncingRequest, GetSyncingResponse, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse } from "./query_pb.js"; import { MethodKind } from "@bufbuild/protobuf"; /** * Service defines the gRPC querier service for tendermint queries. * * @generated from service cosmos.base.tendermint.v1beta1.Service */ export const Service = { typeName: "cosmos.base.tendermint.v1beta1.Service", methods: { /** * GetNodeInfo queries the current node info. * * @generated from rpc cosmos.base.tendermint.v1beta1.Service.GetNodeInfo */ getNodeInfo: { name: "GetNodeInfo", I: GetNodeInfoRequest, O: GetNodeInfoResponse, kind: MethodKind.Unary, }, /** * GetSyncing queries node syncing. * * @generated from rpc cosmos.base.tendermint.v1beta1.Service.GetSyncing */ getSyncing: { name: "GetSyncing", I: GetSyncingRequest, O: GetSyncingResponse, kind: MethodKind.Unary, }, /** * GetLatestBlock returns the latest block. * * @generated from rpc cosmos.base.tendermint.v1beta1.Service.GetLatestBlock */ getLatestBlock: { name: "GetLatestBlock", I: GetLatestBlockRequest, O: GetLatestBlockResponse, kind: MethodKind.Unary, }, /** * GetBlockByHeight queries block for given height. * * @generated from rpc cosmos.base.tendermint.v1beta1.Service.GetBlockByHeight */ getBlockByHeight: { name: "GetBlockByHeight", I: GetBlockByHeightRequest, O: GetBlockByHeightResponse, kind: MethodKind.Unary, }, /** * GetLatestValidatorSet queries latest validator-set. * * @generated from rpc cosmos.base.tendermint.v1beta1.Service.GetLatestValidatorSet */ getLatestValidatorSet: { name: "GetLatestValidatorSet", I: GetLatestValidatorSetRequest, O: GetLatestValidatorSetResponse, kind: MethodKind.Unary, }, /** * GetValidatorSetByHeight queries validator-set at a given height. * * @generated from rpc cosmos.base.tendermint.v1beta1.Service.GetValidatorSetByHeight */ getValidatorSetByHeight: { name: "GetValidatorSetByHeight", I: GetValidatorSetByHeightRequest, O: GetValidatorSetByHeightResponse, kind: MethodKind.Unary, }, /** * ABCIQuery defines a query handler that supports ABCI queries directly to the * application, bypassing Tendermint completely. The ABCI query must contain * a valid and supported path, including app, custom, p2p, and store. * * Since: cosmos-sdk 0.46 * * @generated from rpc cosmos.base.tendermint.v1beta1.Service.ABCIQuery */ aBCIQuery: { name: "ABCIQuery", I: ABCIQueryRequest, O: ABCIQueryResponse, kind: MethodKind.Unary, }, } } as const;