httpay
Version:
HTTPay SDK for interacting with HTTPay smart contracts on Neutron
12 lines • 410 B
TypeScript
import type { HTTPayClients } from "../types";
interface UseBlockHeightProps {
clients: HTTPayClients;
isConnected: boolean;
}
export declare function useBlockHeight({ clients, isConnected }: UseBlockHeightProps): {
currentBlockHeight: number;
getCurrentBlockHeight: () => Promise<number>;
updateBlockHeight: () => Promise<void>;
};
export {};
//# sourceMappingURL=use-block-height.d.ts.map