Function retrieveUserDepositStakingsLocalState

    • Returns local state regarding the deposit staking escrows of a given user. Use for advanced use cases where optimising number of network request.

      Parameters

      • indexerClient: IndexerClient

        Algorand indexer client to query

      • depositStakingAppId: number

        deposit staking application to query about

      • userAddr: string

        account address for the user

      Returns Promise<UserDepositStakingLocalState[]>

      Promise<UserDepositStakingLocalState[]> deposit staking escrows' local state