@lelantos-org/sdk / advanced / DenominationCoinSelector
Class: DenominationCoinSelector
Defined in: @lelantos-org/sdk/dist/wallet/selection/denomination.d.ts:15
SFRT, preferring a zero-change cover when one exists.
Wraps the inner selector: dust thresholds, cooldowns, reservations and the consolidate-first fallback are unaffected; only an exact payment of the target is intercepted.
Intended for denominated withdrawals: an exactly covered denomination produces no change note, and change can land off the withdrawal ladder and need re-splitting.
Implements
Constructors
Constructor
ts
new DenominationCoinSelector(inner?): DenominationCoinSelector;Defined in: @lelantos-org/sdk/dist/wallet/selection/denomination.d.ts:17
Parameters
| Parameter | Type |
|---|---|
inner? | CoinSelector |
Returns
DenominationCoinSelector
Methods
select()
ts
select(
all,
asset,
target,
opts?
): SelectionResult;Defined in: @lelantos-org/sdk/dist/wallet/selection/denomination.d.ts:18
Parameters
| Parameter | Type |
|---|---|
all | readonly StoredNote[] |
asset | AssetId |
target | CircuitAmount |
opts? | SelectOpts |