1w
, 1m
, 3m
, 1y
or all
. The 1w
period will return to hourly values, all other periods will return daily values. Default all
hours
or history
(=days), used together with length for a more granular control over the returned data setlending
, dexes
, derivatives
, payments
, assets
[{"timestamp":1586343600,"tvlUSD":360173025,"tvlETH":2148106.5485775634,"ETH":2015959.408102637,"DAI":19036661.251896158},...]
Parameter | Description |
| Project name. Corresponds to the slug of a project when clicking on it on defipulse.com, e.g. https://defipulse.com/robo-advisor-for-yield -> |
| Use |
Observe that the first entry in the array concerns the ongoing period (hour or day), while the following entries always concern a full period (hour or day) in the past, stepping back in time, starting from the period before the ongoing period. Timestamps are Unix epoch time.