getValidatorApys

Suspended function that retrieves the APYs (Annual Percentage Yields) for validators.

Return

An instance of ValidatorApys containing the APY data for validators.

Throws

if there is an error retrieving the APY data.