Данные по общей статистике ставок
Предоставляет список ставок по типу (сортировка) с возможностью указать лимит (кол-во)
Request URL
https://api.neodice.com/stats/bets/{type}[/{limit}]
HTTP methods
GET
Auth
For all
Params
type - bets type (my, all or best)
limit - count bets
Response
{
"message": "Success",
"data": {
"type": "all",
"bets": [
{
"roll": {
"id": 1000005,
"isWon": true,
"result": "81.38",
"serverSeedHashed": "aadd3fc49d13039708626e1b4cfaeee52c3d570450cec27e7ea59cea86fdc040",
"serverSeed": null,
"clientSeed": "sFx8Aj7pgLsTFXNc",
"nonce": 5,
"createdAt": "2022-04-21 10:26:18"
},
"bet": {
"amount": "0.01000000",
"amountUsd": "0.00139545",
"winAmount": "0.02000000",
"winAmountUsd": "0.00279091",
"currency": "DOGE",
"condition": "above",
"target": "50.49",
"coefficient": "2.0000",
"chance": "49.50"
},
"user": {
"username": "admin",
"avatarUrl": null,
"createdAt": "2022-04-20 15:49:35"
}
},
{
"roll": {
"id": 1000004,
"isWon": false,
"result": "2.60",
"serverSeedHashed": "aadd3fc49d13039708626e1b4cfaeee52c3d570450cec27e7ea59cea86fdc040",
"serverSeed": null,
"clientSeed": "sFx8Aj7pgLsTFXNc",
"nonce": 4,
"createdAt": "2022-04-21 10:26:16"
},
"bet": {
"amount": "0.01000000",
"amountUsd": "0.00139545",
"winAmount": "0.00000000",
"winAmountUsd": "0.00000000",
"currency": "DOGE",
"condition": "above",
"target": "50.49",
"coefficient": "2.0000",
"chance": "49.50"
},
"user": {
"username": "admin",
"avatarUrl": null,
"createdAt": "2022-04-20 15:49:35"
}
}
]
},
"errors": []
}