UNPKG

@xchainjs/xchain-utxo

Version:
10 lines (9 loc) 375 B
import { UTXO } from '../types'; import { UtxoSelectionStrategy, UtxoSelectionResult } from './types'; /** * Largest First strategy - good for consolidation */ export declare class LargestFirstStrategy implements UtxoSelectionStrategy { name: string; select(utxos: UTXO[], targetValue: number, feeRate: number, extraOutputs?: number): UtxoSelectionResult | null; }