Yield

constructor(api: Api, portal: YieldXyzPortalDependency? = null)

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.