UNPKG

interchainjs

Version:

InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.

16 lines (15 loc) 817 B
import { QueryEpochInfosRequest, QueryEpochInfosResponse, QueryCurrentEpochRequest, QueryCurrentEpochResponse } from "./query"; /** * EpochInfos provide running epochInfos * @name getEpochInfos * @package cosmos.epochs.v1beta1 * @see proto service: cosmos.epochs.v1beta1.EpochInfos */ export declare const getEpochInfos: (client: import("../../../helper-func-types").EndpointOrRpc, request: QueryEpochInfosRequest) => Promise<QueryEpochInfosResponse>; /** * CurrentEpoch provide current epoch of specified identifier * @name getCurrentEpoch * @package cosmos.epochs.v1beta1 * @see proto service: cosmos.epochs.v1beta1.CurrentEpoch */ export declare const getCurrentEpoch: (client: import("../../../helper-func-types").EndpointOrRpc, request: QueryCurrentEpochRequest) => Promise<QueryCurrentEpochResponse>;