Protected ReadonlyDUST_Protected ReadonlyINPUT_Protected ReadonlyOUTPUT_Protected ReadonlyTRANSACTION_ProtectedcalculateCalculate change amount
ProtectedcalculateProtectedcheckCheck if options are valid and return failure result if not
ProtectedcreateEstimate transaction fee
ProtectedestimateEstimate transaction size in vBytes
ProtectedfilterFilter UTXOs with protection and confirmation checks
ProtectedfilterProtectedisCheck if amount is dust
OptionaldustThreshold: numberVariant that prioritizes older UTXOs (FIFO)
Variant that consolidates UTXOs
ProtectedsortProtectedsortProtectedsumProtectedvalidate
Simple accumulative UTXO selection algorithm
Remarks
Selects UTXOs in order (typically largest first) until the target amount is reached. This is the simplest and fastest selection algorithm, suitable for most basic transactions.
Features:
Example