Historical Data

Get Vault Historical LP Counts

Changed on

Get the LP-count time-series of the opportunities behind a vault: active and cumulative participated holders of its receipt tokens, both restricted to distributor-sourced positions and over every holder. Buckets are aligned inwards to the step, which defaults to 900 seconds and must be a positive multiple of it. A vault with no receipt tokens or no metrics answers 200 with an empty series.

get/v2/opportunities/{chainId}/{vaultAddress}/historical/lps

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

chainIdinteger required

EVM chain ID (e.g. 1 for Ethereum)

vaultAddressstring required

0x-prefixed 40-hex vault contract address

Query parameters

startDatestring date-time required

Start of range (RFC3339). Aligned inwards to the bucket boundary. At most 365 days before now

endDatestring date-time required

End of range (RFC3339). Aligned inwards to the bucket boundary

stepinteger nullable

Bucket size in seconds (default 900). Must be a positive multiple of 900, at most 31536000 (365 days); maximum 10,000 buckets

Response

OK

Changes