@bitcoinerlab/coinselect
Version:
A TypeScript library for Bitcoin transaction management, based on Bitcoin Descriptors for defining inputs and outputs. It facilitates optimal UTXO selection and transaction size calculation.
14 lines (13 loc) • 503 B
TypeScript
export declare const DUST_RELAY_FEE_RATE = 3;
export declare const MAX_FEE_RATE = 10000;
import type { OutputInstance } from '@bitcoinerlab/descriptors';
export { coinselect } from './coinselect';
export { vsize } from './vsize';
export { dustThreshold } from './dust';
export { maxFunds } from './algos/maxFunds';
export { addUntilReach } from './algos/addUntilReach';
export { avoidChange } from './algos/avoidChange';
export type OutputWithValue = {
output: OutputInstance;
value: number;
};