Flow Series
GET /series/flow?args
Lists aggregate data about flows. Filters are the same as on the flow table, but response fields are limited to numeric data that can be aggregated over time. Aggregation function for all fields is sum.
An interesting feature of flow series is that you can reconstruct the entire balance and delegation history of an account. You can either start at account creation time assuming zero balances or start at the current account state and work your way backwards through flows.
- Schema
- Example
Field | Description |
---|---|
time datetime | Timestamp, start of interval. |
amount_in float | Incoming amount during interval in tez. |
amount_out float | Outgoing amount during interval in tez. |
count int | Number of aggregated rows for this time bucket. |
curl "https://api.tzpro.io/series/flow?start_date=today&collapse=1d&category=delegation"