Rewards

Reward Totals

Returns the total rewards for the whole network in a given timeframe.

The results can also be bucketed in time by specifying a bucket query parameter which buckets information per bucket in the given timeframe. Data is bucketed by time. Valid bucket values include hour, day and week).

Query Parameters

Name

Tags

Description

Example

Type

required

First time to include rewards for.

2020-08-27T00:00:00Z

ISO8601 timestamp or relative time

required

Last time to include rewards for.

-1 week

ISO8601 timestamp or relative time

optional

Bucket specifier.

day

enum

Response

{
    "meta": {
        "min_time": "2021-05-25T01:14:06Z",
        "max_time": "2021-05-26T01:14:06Z"
    },
    "data": {
        "total": 138754.62740928,
        "sum": 13875462740928,
        "stddev": 1002.93808104,
        "min": 3581.01850809,
        "median": 4233.79629017,
        "max": 8585.64812366,
        "avg": 4475.95572288
    }
}

Last updated