@alphafi/alphalend-sdk - v4.1.0
    Preparing search index...

    Function getCoinObjectCounts

    • Number of Coin<T> objects per coin type held by address. Coins held purely in the address balance (accumulator) do not appear.

      Each type is counted separately, capped at MAX_COINS_PER_TX. Listing the address's objects and grouping by type instead cannot work: objects are not listed grouped by type, so an address holding 100K objects of one coin fills the whole listing and every other type is missed.

      Parameters

      • address: string
      • network: Network
      • OptionalgrpcUrl: string
      • OptionalgrpcToken: string

      Returns Promise<CoinTypeCount[]>