Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LeaderboardEntryDTO

interface

LeaderboardEntryDTO

description

This interface defines the fields that are returned by the backend runtime for individual entries using the endpoint /statistics/leaderboards. endpoint.

example

Using the LeaderboardDTO interface

const entry = {
address: "...",
period: "20221117",
periodFormat: "D",
position: 1,
amount: 0,



Properties

param address

Contains the address of the user.

param period

Contains the "date period" of which this entry aggregates data.

param periodFormat

Contains the type of date period used to generate data.

param position

Contains a leaderboard position.

param amount

Contains an amount of tokens earned during said date period.

since

v0.5.0

Hierarchy

  • LeaderboardEntryDTO

Index

Properties

address: string
amount: number
period: string
periodFormat: string
position: number

Generated using TypeDoc