Actions61
- Activity Actions
- Asset Actions
- Custom Query Actions
- Hub Actions
- Lending Actions
- Market Data Actions
- Position Management Actions
- Position Swap Actions
- Protocol Actions
- Reserve Actions
- Spoke Actions
- Swap Actions
- User Position Actions
Protocol → Get Protocol History
AI-generatedSummary
Fetch historical protocol data for a given chain and time window in a chosen currency.
Inputs
- chainId — Chain identifier or identifier from the list of available chains.
- protocolHistoryWindow — Time window for historical data, e.g., LAST_DAY, LAST_SIX_MONTHS.
- protocolHistoryCurrency — Currency in which the historical values are expressed, such as USD, EUR, or GBP.
Output shape
An array of protocol history entries, each containing timestamp, metric, and value in the specified currency.
The array may be empty if no data matches the criteria; pagination is not applicable.
Examples
Example 1: Retrieve last 6 months of protocol history for Ethereum in USD.
chainId: "ethereum", protocolHistoryWindow: "LAST_SIX_MONTHS", protocolHistoryCurrency: "USD"