@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
17 lines • 496 B
TypeScript
import { Bitcoind } from '../../types.js';
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 {};
//# sourceMappingURL=wait-for-block-height.d.ts.map