getValidators
method
Fetches all validators in the staking contract. IMPORTANT: This operation iterates over all validators in the staking contract and thus is extremely computationally expensive.
Params
This method does not require any parameters.
Result
Property | Type | Required |
---|---|---|
Vec | any[] | Yes |