bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
16 lines (15 loc) • 402 B
TypeScript
import { Bitcoind } from '../../types';
type WaitForBlockParams = {
bitcoind: Bitcoind;
blockhash: string;
timeout?: number;
};
/**
* waitforblock "blockhash" ( timeout )
*
* Waits for a specific new block and returns useful info about it.
* Returns the current block on timeout or exit.
*
*/
export declare function waitForBlock(params: WaitForBlockParams): Promise<any>;
export {};