YieldXyz

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

Parameters

api

The low-level Yield.xyz API client.

portal

The Portal dependency used by high-level deposit/withdraw for signing, address resolution and confirmation. May be null when only the low-level API is used.