@lelantos-org/sdk / index / AssetInfo
Interface: AssetInfo โ
Defined in: @lelantos-org/sdk/dist/wallet/assets.d.ts:10
Everything known about a registered MASP asset.
scale converts between the two integer spaces: tokenUnits = circuitUnits * scale. Every Wallet amount argument is in circuit units.
Extended by โ
Properties โ
decimals? โ
optional decimals?: number;Defined in: @lelantos-org/sdk/dist/wallet/assets.d.ts:22
ERC-20 decimals. Undefined when the adapter has no tokenMeta.
disabled โ
disabled: boolean;Defined in: @lelantos-org/sdk/dist/wallet/assets.d.ts:18
Owner-flipped. Disabled assets block new deposits; existing notes stay spendable.
id โ
id: AssetId;Defined in: @lelantos-org/sdk/dist/wallet/assets.d.ts:12
MASP registry id โ the asset argument on every wallet method.
scale โ
scale: bigint;Defined in: @lelantos-org/sdk/dist/wallet/assets.d.ts:16
circuit-units โ ERC-20-base-units multiplier.
symbol? โ
optional symbol?: string;Defined in: @lelantos-org/sdk/dist/wallet/assets.d.ts:20
From chain.tokenMeta; undefined when the adapter does not implement it.
token โ
token: EvmAddress;Defined in: @lelantos-org/sdk/dist/wallet/assets.d.ts:14
ERC-20 contract address backing the id.