Skip to content

@lelantos-org/sdk / advanced / denominationChoices

Function: denominationChoices() ​

ts
function denominationChoices(asset): DenominationChoice[];

Defined in: @lelantos-org/sdk/dist/wallet/ops/withdraw-preview.d.ts:67

The asset's denominations, labelled for a picker. Empty when it has none.

Both labels change with the yield index while value stays fixed, so recompute on index changes rather than caching the strings.

Parameters ​

ParameterType
assetAssetInfo

Returns ​

DenominationChoice[]