selectCoins
selectCoins(
o):CoinSelection
Defined in: wallet-btc/src/coinselect.ts:86
Pick UTXOs to fund the targets at feeRate (sat/vB): change goes back when it is above dust,
otherwise it joins the fee.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Throws
Section titled “Throws”InsufficientFundsError (core) when the UTXOs cannot cover targets plus fee,
TooManyInputsError above maxInputs, Error for a fee rate below 1 sat/vB.