Yield Xyz Api
API class specifically for Yield.xyz integration functionality.
This class handles all yield-related API calls including discovering yields, entering/exiting yield opportunities, managing yields, and tracking transactions.
Parameters
The base URL of the API server.
The API key used for authentication.
An instance of PortalRequests to handle HTTP requests.
Functions
Enters a yield opportunity through the Yield.xyz integration.
Exits a yield opportunity through the Yield.xyz integration.
Retrieves historical yield actions with optional filtering.
Retrieves yield balances for specified addresses and networks.
Retrieves yield opportunities from the Yield.xyz integration.
Retrieves a single yield action transaction by its ID.
Manages a yield opportunity through the Yield.xyz integration.
Submits a transaction hash for tracking in the Yield.xyz integration.