Rewards
Get reward earnings summary
Get a wallet’s base-token earnings in one yield over preset windows: the last 24 hours, 7, 30 and 365 days from UTC midnight, and all time.
GET
Get fixed-window reward earnings
Every window is measured back from the request and ends at the last aggregated hour.
last24H is the 24 hourly rows ending at the hour that contains the request, clipped to the last aggregated hour. last7D, last30D and lastYear start at midnight UTC 7, 30 and 365 days before the request, so last7D covers seven full UTC days plus today so far, and lastYear is 365 days rather than a calendar year. total is all earnings through the last aggregated hour. Amounts are signed decimal strings, with amountRaw in base units.
The same coverage rules apply as for reward earnings: earnings are recorded only for wallets that have already used Yield.xyz on that network, from that point on, a yield without reward support returns 404, and feeConfigurationId selects one of your allocator vaults.Path Parameters
Query Parameters
Response
Fixed-window earnings
Get fixed-window reward earnings

