// @generated by protoc-gen-cosmes v0.0.1 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"; const TYPE_NAME = "cosmos.base.tendermint.v1beta1.Service"; /** * GetNodeInfo queries the current node info. * * @generated from rpc cosmos.base.tendermint.v1beta1.Service.GetNodeInfo */ export const ServiceGetNodeInfoService = { typeName: TYPE_NAME, method: "GetNodeInfo", Request: GetNodeInfoRequest, Response: GetNodeInfoResponse, } as const; /** * GetSyncing queries node syncing. * * @generated from rpc cosmos.base.tendermint.v1beta1.Service.GetSyncing */ export const ServiceGetSyncingService = { typeName: TYPE_NAME, method: "GetSyncing", Request: GetSyncingRequest, Response: GetSyncingResponse, } as const; /** * GetLatestBlock returns the latest block. * * @generated from rpc cosmos.base.tendermint.v1beta1.Service.GetLatestBlock */ export const ServiceGetLatestBlockService = { typeName: TYPE_NAME, method: "GetLatestBlock", Request: GetLatestBlockRequest, Response: GetLatestBlockResponse, } as const; /** * GetBlockByHeight queries block for given height. * * @generated from rpc cosmos.base.tendermint.v1beta1.Service.GetBlockByHeight */ export const ServiceGetBlockByHeightService = { typeName: TYPE_NAME, method: "GetBlockByHeight", Request: GetBlockByHeightRequest, Response: GetBlockByHeightResponse, } as const; /** * GetLatestValidatorSet queries latest validator-set. * * @generated from rpc cosmos.base.tendermint.v1beta1.Service.GetLatestValidatorSet */ export const ServiceGetLatestValidatorSetService = { typeName: TYPE_NAME, method: "GetLatestValidatorSet", Request: GetLatestValidatorSetRequest, Response: GetLatestValidatorSetResponse, } as const; /** * GetValidatorSetByHeight queries validator-set at a given height. * * @generated from rpc cosmos.base.tendermint.v1beta1.Service.GetValidatorSetByHeight */ export const ServiceGetValidatorSetByHeightService = { typeName: TYPE_NAME, method: "GetValidatorSetByHeight", Request: GetValidatorSetByHeightRequest, Response: GetValidatorSetByHeightResponse, } as const; /** * 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 */ export const ServiceABCIQueryService = { typeName: TYPE_NAME, method: "ABCIQuery", Request: ABCIQueryRequest, Response: ABCIQueryResponse, } as const;