Staking
Functions
Link copied to clipboard
abstract suspend fun getDelegatedStakingActivities(poolAddress: AccountAddressInput, delegatorAddress: AccountAddressInput, minimumLedgerVersion: Long? = null): Result<GetDelegatedStakingActivitiesQuery.Data?, AptosIndexerError>
Queries delegated staking activities for a specific delegator and pool.
Link copied to clipboard
abstract suspend fun getNumberOfDelegators(poolAddress: AccountAddressInput, sortOrder: List<ActiveDelegatorPerPoolOrder>? = null, minimumLedgerVersion: Long? = null): Result<Long, AptosIndexerError>
Queries the current number of delegators in a specified pool.
Link copied to clipboard
abstract suspend fun getNumberOfDelegatorsForAllPools(sortOrder: List<ActiveDelegatorPerPoolOrder>? = null, minimumLedgerVersion: Long? = null): Result<GetNumberOfDelegatorsQuery.Data?, AptosIndexerError>
Queries the current number of delegators across all staking pools.