selectUTXOsForAmount method

List<BitcoinUtxo> selectUTXOsForAmount(
  1. WalletState state,
  2. BigInt amount
)

Select UTXOs for a specific amount (simple first-fit algorithm)

Implementation

List<BitcoinUtxo> selectUTXOsForAmount(WalletState state, BigInt amount) =>
    UtxoLedger.selectForAmount(state, amount);