get_historical_apy
Retrieve historical APY data for a specific market by providing market details and time range to analyze performance over intervals like hour, day, week, or month.
Instructions
Get historical APY data for a specific market.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chainId | No | ||
endTimestamp | Yes | ||
interval | Yes | ||
marketUniqueKey | Yes | ||
startTimestamp | Yes |
Input Schema (JSON Schema)
{
"properties": {
"chainId": {
"type": "number"
},
"endTimestamp": {
"type": "number"
},
"interval": {
"enum": [
"HOUR",
"DAY",
"WEEK",
"MONTH"
],
"type": "string"
},
"marketUniqueKey": {
"type": "string"
},
"startTimestamp": {
"type": "number"
}
},
"required": [
"marketUniqueKey",
"startTimestamp",
"endTimestamp",
"interval"
],
"type": "object"
}