Yield

class Yield(api: Api, portal: YieldXyzPortalDependency? = null)

The main entry point for yield-related functionality in the Portal SDK.

This class provides access to various yield providers and their capabilities. Currently supports YieldXyz as the primary yield provider.

Parameters

api

The Portal API instance to use for yield operations.

portal

The portal dependency used by high-level deposit/withdraw for signing, address resolution and confirmation. May be null when only low-level methods are used.

Constructors

Link copied to clipboard
constructor(api: Api, portal: YieldXyzPortalDependency? = null)

Properties

Link copied to clipboard

Access to YieldXyz yield provider functionality.

Functions

Link copied to clipboard

Returns the available validators for a native-staking yield.