UNPKG

bitcoin-cli-ts

Version:

Auto-generated Bitcoin client library for bitcoind JSON-RPC API

17 lines (16 loc) 442 B
import { Bitcoind } from '../../types'; type WaitForBlockHeightParams = { bitcoind: Bitcoind; height: number; timeout?: number; }; /** * waitforblockheight height ( timeout ) * * Waits for (at least) block height and returns the height and hash * of the current tip. * Returns the current block on timeout or exit. * */ export declare function waitForBlockHeight(params: WaitForBlockHeightParams): Promise<any>; export {};