Function listCertifiedAssets

Fetches the list of certified assets from the Soroswap token list. Assets are cached for 30 days.

If assets cannot be fetched or cached.

  • Parameters

    • shouldReturnSimpleAssets: boolean = false

      If true, returns a simpler object with only the code and issuer.

    Returns Promise<AssetData | {
        assets: SimpleAsset[];
    }>

    A promise that resolves to the list of certified assets.