Skip to main content
Function Signature
Available on both the namespace and the provider. 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
Using a validator in a deposit:
Related Documentation