rollup

Rollup Grouped Statistics

Changed on

Returns rollup statistics aggregated by the selected column (stack, type, category, vm, or provider), using the chosen aggregate function (sum or avg).

get/rollup/group

Request

  • Base URL
    api-mainnet.celenium.io (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header apikey

Query parameters

func'sum' | 'avg'

Aggregate function

column'stack' | 'type' | 'category' | 'vm' | 'provider'

Group column

Response

OK

blobs_countinteger
feenumber double
groupstring string
sizenumber double

Example response

[
  {
    "blobs_count": 2,
    "fee": 123.456789,
    "group": "group",
    "size": 1000
  }
]

Changes