UserStatisticsDTO
This interface defines the fields that are returned by the backend runtime using the /statistics/user/:address endpoint.
/statistics/user/:address
Using the UserStatisticsDTO interface
const statistics = { address: "...", period: "20221117", periodFormat: "D", position: 1, amount: 0, data: { totalPracticedMinutes: 0, totalEarned: 0, }
Contains the address of the user.
Contains the "date period" of which this entry aggregates data.
Contains the type of date period used to generate data.
(Optional) Contains a potential leaderboard position.
(Optional) Contains an amount of tokens earned during said date period.
Contains aggregated data as defined by UserDataAggregateDTO.
v0.5.0
Generated using TypeDoc
UserStatisticsDTO
This interface defines the fields that are returned by the backend runtime using the
/statistics/user/:address
endpoint.Using the
UserStatisticsDTO
interfaceProperties
Contains the address of the user.
Contains the "date period" of which this entry aggregates data.
Contains the type of date period used to generate data.
(Optional) Contains a potential leaderboard position.
(Optional) Contains an amount of tokens earned during said date period.
Contains aggregated data as defined by UserDataAggregateDTO.
v0.5.0