Skip to content

@lelantos-org/sdk / index / fetchAssetInfo

Function: fetchAssetInfo() โ€‹

ts
function fetchAssetInfo(chain, id): Promise<AssetInfo>;

Defined in: @lelantos-org/sdk/dist/wallet/assets.d.ts:48

Read the registry entry for id, enriched with ERC-20 metadata when the adapter exposes tokenMeta. Metadata failures are non-fatal: symbol and decimals are left undefined.

Parameters โ€‹

ParameterType
chainChainAdapter
idAssetId

Returns โ€‹

Promise<AssetInfo>

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