UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

25 lines 829 B
import { Bitcoind } from '../../types.js'; type SendToAddressParams = { bitcoind: Bitcoind; address: string; amount: number | string; comment?: string; comment_to?: string; subtractfeefromamount?: boolean; replaceable?: boolean; conf_target?: number; estimate_mode?: string; avoid_reuse?: boolean; fee_rate?: number | string; verbose?: boolean; }; /** * sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode" avoid_reuse fee_rate verbose ) * * Send an amount to a given address. * Requires wallet passphrase to be set with walletpassphrase call if wallet is encrypted. * */ export declare function sendToAddress(params: SendToAddressParams): Promise<any>; export {}; //# sourceMappingURL=send-to-address.d.ts.map