portal.yield.getValidators(yieldId:) is a passthrough to portal.yield.yieldxyz.getValidators(yieldId:).
Description
Fetches the validators available for a native-staking yield. Use the returned addresses to populate arguments.validatorAddress on a deposit, or to drive a validator picker in your UI.
Parameters
Returns
[YieldXyzValidator]
Only address is non-optional. Every other field depends on the protocol and may be absent:
Throws
Network errors propagate as thrown errors.
Example Usage