TOP HOLDERS AND TRANSACTIONS

get
Top Holders And Transactions

https://api.rally.io/v1/creators/top_holders_and_transactions
This endpoint allows the creator to get the list of top holders and top send/buy/sell transactions for the coin.
Request
Response
Request
Headers
Authorization
required
string
Bearer <access_token>. The access token that was obtained through the REGISTER or REFRESH endpoints.
Query Parameters
rnbUserId
required
string
rnbUserId of the creator
symbol
required
string
Creator coin symbol
timePeriod
required
string
Valid values: SEVEN_DAY, ONE_MONTH, ALL
Response
200: OK
Successful response
{
"topHolders": [
{
"rnbUserId": "5fd63a38-7459-43e1-b5ee-36da1b34676e",
"balance": 37233.196161,
"estimatedInUsd": 33252785.267189223,
"username": "JohnS"
},
{
"rnbUserId": "22997ad6-63f7-42e5-9e02-52f968440bd9",
"balance": 30666.186923,
"estimatedInUsd": 27387821.45654555,
"username": "abcway"
},
],
"buys": [
{
"rnbUserId": "49636771-c802-46c1-9ce9-01bad7a08251",
"amount": 0.346932,
"estimatedInUsd": 300,
"username": "c00lhead"
},
{
"rnbUserId": "5fd63a38-7459-43e1-b5ee-36da1b34676e",
"amount": 0.117559,
"estimatedInUsd": 100,
"username": "JohnS"
}
],
"sells": [
{
"rnbUserId": "49636771-c802-46c1-9ce9-01bad7a08251",
"amount": 12.13407,
"estimatedInUsd": 10862.75,
"username": "c00lhead"
}
],
"sends": [
{
"rnbUserId": "49636771-c802-46c1-9ce9-01bad7a08251",
"amount": 0.24601,
"estimatedInUsd": 212.37,
"username": "c00lhead"
},
{
"rnbUserId": "c34f5153-0c77-42ac-9853-c453840997d0",
"amount": 0.00001,
"estimatedInUsd": 0,
"username": "LOLCaptain"
},
{
"rnbUserId": "22997ad6-63f7-42e5-9e02-52f968440bd9",
"amount": 0.00001,
"estimatedInUsd": 0,
"username": "abcway"
}
]
}
401: Unauthorized
The applications is not registered with Rally or the token has expired.
{
"errors": [
"RnbUserId is not authorized to query this coin"
]
}
422: Unprocessable Entity
Returned if input validation fails.
{
"errors": [
"Missing coin symbol",
"Wrong time period: xyz",
]
}

‚Äč