Jump to content

toohoola

Member
  • Content Count

    357
  • Joined

Everything posted by toohoola

  1. As far as I know, everything is possible via API, that you can do on the official site, since the site uses the API as well. Last time I checked this was the withdrawal mutation: mutation CreateWithdrawalMutation( $address: String!, $amount: Float!, $currency: CurrencyEnum!, $tfaToken: String, $oauthToken: String ) { createWithdrawal(currency: $currency, address: $address, amount: $amount, tfaToken: $tfaToken, oauthToken: $oauthToken) { id amount refFee currency hash address reference { ... on User { id balances { available { amount currency } vault { amount currency } } } } } }
  2. For deposit address: query DepositAddress($currency: CurrencyEnum!) { info { currency(currency: $currency) { requiredConfirmations } } user { id depositAddress(currency: $currency) { id address currency } } } To get the chat messages you have 2 options, either get the history manually with this, using the limit and the offset parameters: query PublicChats( $includeHistory: Boolean = false $limit: Int $offset: Int ) { publicChats { id name isPublic messageList(limit: $limit, offset:$offset) @include(if: $includeHistory) { ...MessageFragment } } } or you can use subscription to get them as soon as possible: subscription ChatSubscription($chatId: String!) { chatMessages(chatId: $chatId) { ...MessageFragment } } The MessageFragment is the same in both cases, don't forget to attach it to your query. I left it out to save some space: fragment MessageFragment on ChatMessage { id data { ... on ChatMessageDataRace { race { name status startTime leaderboard(limit: 10) { ...RacePositionFragment } } } ... on ChatMessageDataTrivia { status question answer currency amount winner { id name } } ... on ChatMessageDataText { message } ... on ChatMessageDataBot { message } ... on ChatMessageDataTip { tip { id amount currency sender: sendBy { id name } receiver: user { id name } } } ... on ChatMessageDataRain { rain { amount currency rainUsers { user { id name } } giver: user { id name } } } } createdAt user { id name } } fragment RacePositionFragment on RacePosition { position user { id name } wageredAmount payoutAmount currency }
  3. Bet: 34,498,802,488 placed by toohoola on 11/08/2019 Wagered 0.00000000 Multiplier 330.00x Profit 0.00000000 99.7
  4. Bet: 34,495,258,897 placed by toohoola on 11/08/2019 Wagered 0.00000000 Multiplier 165.00x Profit 0.00000000 99.4
  5. Bet: 34,490,676,758 placed by toohoola on 10/08/2019 Wagered 0.00000000 Multiplier 123.75x Profit 0.00000000 99.2
  6. Bet: 34,473,308,021 placed by toohoola on 10/08/2019 Wagered 0.00000000 Multiplier 90.00x Profit 0.00000000 98.9
  7. Bet: 34,453,838,124 placed by toohoola on 10/08/2019 Wagered 0.00000000 Multiplier 61.88x Profit 0.00000000 98.4
  8. Bet: 34,404,039,295 placed by toohoola on 09/08/2019 Wagered 0.00000000 Multiplier 31.94x Profit 0.00000000 96.9
  9. Bet: 34,399,674,089 placed by toohoola on 09/08/2019 Wagered 0.00000000 Multiplier 30.00x Profit 0.00000000 96.7
  10. Bet: 34,383,554,619 placed by toohoola on 09/08/2019 Wagered 0.00000000 Multiplier 28.29x Profit 0.00000000 96.5
  11. Bet: 34,372,005,928 placed by toohoola on 09/08/2019 Wagered 0.00000000 Multiplier 26.05x Profit 0.00000000 96.2
  12. Bet: 34,334,262,267 placed by toohoola on 08/08/2019 Wagered 0.00000000 Multiplier 23.02x Profit 0.00000000 95.7
  13. Bet: 34,323,196,631 placed by toohoola on 08/08/2019 Wagered 0.00000000 Multiplier 22.00x Profit 0.00000000 95.5
  14. Bet: 34,310,902,671 placed by toohoola on 08/08/2019 Wagered 0.00000000 Multiplier 21.06x Profit 0.00000000 95.3
  15. Bet: 34,301,687,691 placed by toohoola on 08/08/2019 Wagered 0.00000000 Multiplier 19.80x Profit 0.00000000 95
  16. Bet: 34,291,128,932 placed by toohoola on 08/08/2019 Wagered 0.00000000 Multiplier 18.68x Profit 0.00000000 94.7
  17. Bet: 34,252,565,490 placed by toohoola on 07/08/2019 Wagered 0.00000000 Multiplier 17.37x Profit 0.00000000 94.3
  18. Bet: 34,234,979,685 placed by toohoola on 07/08/2019 Wagered 0.00000000 Multiplier 16.50x Profit 0.00000000 94
  19. Bet: 34,228,875,662 placed by toohoola on 07/08/2019 Wagered 0.00000000 Multiplier 15.71x Profit 0.00000000 93.7
  20. Bet: 34,177,697,286 placed by toohoola on 06/08/2019 Wagered 0.00000000 Multiplier 13.75x Profit 0.00000000 92.8
  21. Bet: 34,174,464,429 placed by toohoola on 06/08/2019 Wagered 0.00000000 Multiplier 13.20x Profit 0.00000000 92.5
  22. @PrimediceSuite, the internet is full with GraphQL tutorials/guides/libraries, but if you don't want to search one, just fiddle with the tool that @Dan suggested in the first post. It can show you the raw HTTP data that has been sent and received. Based on that you should be able to use the API very similarly to the old API.
  23. Bet: 34,099,122,184 placed by toohoola on 05/08/2019 Wagered 0.00000000 Multiplier 11.25x Profit 0.00000000 91.2
  24. Bet: 34,081,028,440 placed by toohoola on 05/08/2019 Wagered 0.00000000 Multiplier 10.88x Profit 0.00000000 90.9
  25. Bet: 34,035,534,319 placed by toohoola on 04/08/2019 Wagered 0.00000000 Multiplier 9.71x Profit 0.00000000 89.8
×