Staking

interface Staking

Staking API namespace. This interface provides functionality to reading and writing staking.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun getNumberOfDelegators(poolAddress: AccountAddressInput, minimumLedgerVersion: Long? = null): Option<NumberOfDelegators>

Queries current number of delegators in a pool. Throws an error if the pool is not found.