bitcoin-utxo-select
Version:
Bitcoin utxo selections
8 lines (7 loc) • 320 B
TypeScript
import { Target, UTXO } from '../types';
export declare function accumulative(preInputs: UTXO[], utxos: UTXO[], outputs: Target[], feeRate: number, changeAddress?: string, changeOutput?: boolean): {
inputs?: UTXO[] | undefined;
outputs?: Target[] | undefined;
fee: number;
txFee?: number | undefined;
};