POST
/
api
/
Users
/
usersLeaderboard
Returns users leaderboard (at the top of the board are users, that have generated the most fees)
curl --request POST \
  --url https://dln-api.debridge.finance/api/Users/usersLeaderboard \
  --header 'Content-Type: application/json-patch+json' \
  --data '{
  "walletAddress": "<string>",
  "skip": 123,
  "take": 123
}'
{
  "users": [
    {
      "walletAddress": {
        "Base64Value": "aSDinaTvuI8gbWludGxpZnk=",
        "bytesArrayValue": "<string>",
        "stringValue": "<string>"
      },
      "userRank": 123,
      "totalVolumeUSD": 123,
      "totalFeesUSD": 123,
      "totalExecutedOrders": 123
    }
  ],
  "totalCount": 123,
  "searchResult": {
    "walletAddress": {
      "Base64Value": "aSDinaTvuI8gbWludGxpZnk=",
      "bytesArrayValue": "<string>",
      "stringValue": "<string>"
    },
    "userRank": 123,
    "totalVolumeUSD": 123,
    "totalFeesUSD": 123,
    "totalExecutedOrders": 123
  }
}

Body

skip
integer
required

items to skip (pagination)

take
integer
required

Number of items to return (pagination) max page size is 100

walletAddress
string | null

Address of a wallet to search for [hex of base58, optional]

Response

OK

Users leaderboard page info

users
object[] | null

Leaderboard items from requested page

totalCount
integer

Total number of leaderboard items

searchResult
object