markets
GET /markets/history
Fetch an array of daily snapshots of supply and borrow totals and supply and borrow apy over the previous 365 days for a given asset.
Request
- Base URLhttps://1811016925-files.gitbook.io (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
assetstring required
vToken address to fetch history for.
chainIdstring required
Chain ID of the network to query history for.
period'year' | 'month' | 'halfyear'
Response
Returns historical data for the requested asset.
Changes
No recorded changes to this operation across all 1 revision of this API.