Function Signature
Description
Retrieve past yield actions including entries, exits, and management operations.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
offset | int? | No | Pagination offset |
limit | int? | No | Maximum number of results |
address | String? | No | Filter by wallet address |
status | YieldXyzActionStatus? | No | Filter by action status |
intent | YieldXyzActionIntent? | No | Filter by action intent (enter, exit, manage) |
type | String? | No | Filter by action type |
yieldId | String? | No | Filter by yield opportunity ID |
Returns
YieldXyzGetHistoricalActionsResponse - An object containing:
| Property | Type | Description |
|---|---|---|
items | List<YieldXyzHistoricalActionItem?> | List of historical actions |
total | int | Total number of actions |
offset | int | Current pagination offset |
limit | int | Current page size |
metadata | YieldXyzGetBalancesMetadata? | Response metadata |
error | String? | Error message, if any |
Example
Errors
| Code | Description |
|---|---|
NOT_INITIALIZED | Portal was not initialized |
YIELD_FAILED | Failed to get historical yield actions |