UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

21 lines 1 kB
import { Bitcoind, Json } from '../../types.js'; type SendAllParams = { bitcoind: Bitcoind; recipients: Array<unknown>; conf_target?: number; estimate_mode?: string; fee_rate?: number | string; options?: Json; }; /** * sendall ["address",{"address":amount,...},...] ( conf_target "estimate_mode" fee_rate options ) * * EXPERIMENTAL warning: this call may be changed in future releases. * Spend the value of all (or specific) confirmed UTXOs and unconfirmed change in the wallet to one or more recipients. * Unconfirmed inbound UTXOs and locked UTXOs will not be spent. Sendall will respect the avoid_reuse wallet flag. * If your wallet contains many small inputs, either because it received tiny payments or as a result of accumulating change, consider using `send_max` to exclude inputs that are worth less than the fees needed to spend them. * */ export declare function sendAll(params: SendAllParams): Promise<any>; export {}; //# sourceMappingURL=send-all.d.ts.map