@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
16 lines • 444 B
TypeScript
import { Bitcoind } from '../../types.js';
type GenerateToAddressParams = {
bitcoind: Bitcoind;
nblocks: number;
address: string;
maxtries?: number;
};
/**
* generatetoaddress nblocks "address" ( maxtries )
*
* Mine to a specified address and return the block hashes.
*
*/
export declare function generateToAddress(params: GenerateToAddressParams): Promise<any>;
export {};
//# sourceMappingURL=generate-to-address.d.ts.map