Stats
Stats API helps you to fetch rewards data for the validators managed by the OPUS platform. The below workflow illustrates the OPUS Stats workflow.
Stats API helps you to fetch rewards data for the validators managed by the OPUS platform. The below workflow illustrates the OPUS Stats workflow.
Get rewards and aggregated node statistics for validators hosted by Chorus/Opus
A starting day for which need to retrieve rewards. If not sent, the date of registration is used. This date should be always in UTC time zone.
An ending day for which need to retrieve rewards. By default, assumes it is current day. This date should be always in UTC time zone.
Number of daily statistics aggregated in a single entry. The aggregation works as follows:
Network for which to perform statistics request
Reward and performance data have been returned, to this day
Array of daily rewards objects
Array of account aggregated validator statistics, each representing one day