UNPKG

bitcoin-utxo-select

Version:

Bitcoin utxo selections

11 lines (10 loc) 391 B
import { Target, UTXO } from './types'; export declare function coinSelect(preInputs: UTXO[], utxos: UTXO[], outputs: Target[], feeRate: number, changeAddress?: string, changeOutput?: boolean): { inputs?: UTXO[] | undefined; outputs?: Target[] | undefined; fee: number; txFee?: number | undefined; }; export * from './algo'; export * from './types'; export * from './utils';