@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 โ
| Parameter | Type |
|---|---|
chain | ChainAdapter |
id | AssetId |
Returns โ
Promise<AssetInfo>