Skip to content

@lelantos-org/sdk / advanced / CoinSelector

Interface: CoinSelector ​

Defined in: @lelantos-org/sdk/dist/wallet/selection/types.d.ts:97

Pluggable selection strategy passed via WalletConfig.selector.

Methods ​

select() ​

ts
select(
   all, 
   asset, 
   target, 
   opts?
): SelectionResult;

Defined in: @lelantos-org/sdk/dist/wallet/selection/types.d.ts:98

Parameters ​

ParameterType
allreadonly StoredNote[]
assetAssetId
targetCircuitAmount
opts?SelectOpts

Returns ​

SelectionResult