Opportunities
Get compact historical TVL series for several opportunities at once. Repeat ids once per opportunity.
get/v4/opportunities/tvl-records
Request
- Base URL: https://api.merkl.xyz (the document declares no server; this is the origin it was published from)
- URL: https://api.merkl.xyz/v4/opportunities/tvl-records
- Auth: apiKey (a scheme the document does not define)
Query parameters
idsstring[] required
Opportunity IDs (numeric hash) to read history for. Repeat the parameter once per id.
fromnumber
Lower bound (inclusive) for the record's unix timestamp, in seconds.
tonumber
Upper bound (inclusive) for the record's unix timestamp, in seconds.
Response
TVL series per opportunity id, ascending by timestamp. Ids with no record are absent.
object required
TVL series per opportunity id, ascending by timestamp. Ids with no record are absent.
Changes
- info
endpoint added
- info