Skip to content

@lelantos-org/sdk / wallet / AssetRegistrySource

Interface: AssetRegistrySource โ€‹

Defined in: @lelantos-org/sdk/dist/wallet/asset-registry.d.ts:7

Where a registry's token list comes from.

Properties โ€‹

chain โ€‹

ts
chain: ChainAdapter;

Defined in: @lelantos-org/sdk/dist/wallet/asset-registry.d.ts:8


tokens? โ€‹

ts
optional tokens?: () => Promise<readonly ChainToken[]>;

Defined in: @lelantos-org/sdk/dist/wallet/asset-registry.d.ts:14

The relayer's registered-asset list, if one is reachable. Called at most once and cached; a failure is not fatal, it only means symbols and token addresses cannot be resolved and ids still can.

Returns โ€‹

Promise<readonly ChainToken[]>

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub