@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
17 lines • 533 B
TypeScript
import { Bitcoind } from '../../types.js';
type GetNewAddressParams = {
bitcoind: Bitcoind;
label?: string;
address_type?: string;
};
/**
* getnewaddress ( "label" "address_type" )
*
* Returns a new Bitcoin address for receiving payments.
* If 'label' is specified, it is added to the address book
* so payments received with the address will be associated with 'label'.
*
*/
export declare function getNewAddress(params: GetNewAddressParams): Promise<any>;
export {};
//# sourceMappingURL=get-new-address.d.ts.map