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
| Parameter | Type | Required |
|---|---|---|
address | string | Yes |
Result
| Property | Type | Required |
|---|---|---|
Vec | any[] | Yes |