getStakersByValidatorAddress method

Fetches all stakers for a given validator. IMPORTANT: This operation iterates over all stakers of the staking contract and thus is extremely computationally expensive.

Params

ParameterTypeRequired
addressstringYes

Result

PropertyTypeRequired
VecarrayYes

Code Examples

Copy page
Report a bug
Send feedback