Jump to content
hubinator

API graphql doesn't work

Recommended Posts

From some time we are missing user balance data in roll API response. It not always like that. I can roll 1050 and then it starts to response without user key in json. I bold the missing part.

 

{'data': {'primediceRoll': {'id': 'f2fe32f6-2bb8-4d5b-9f2b-4becbf263dc9', 'nonce': 4960498, 'currency': 'xrp', 'amount': 8.19e-06, 'payout': 0.0081081, 'state': {'result': 99.99000000000001, 'target': 99.89, 'condition': 'above'}, 'createdAt': 'Thu, 29 Aug 2019 19:00:03 GMT', 'serverSeed': {'seedHash': 'f73aa4846e189034563b33304d001861462204f1933f83f7777b4b83e1fe489e', 'seed': None, 'nonce': 4960498}, 'clientSeed': {'seed': 'LtZEgk'}, 'user': {'balances': [{'available': {'amount': 0.00422488150606368, 'currency': 'bch'}}, {'available ....

Share this post


Link to post
Share on other sites

Heya :)

API playground has been disabled at the moment on our site. If you are familiar with past functions, you should still be able to use some of them, as well as DiceBot for playing. 

For the two issues you have inquired about, I will tag @hui here to see if he is able to help you with this :D

Good luck! 🍀

Share this post


Link to post
Share on other sites

Since the playground as well as the schema was removed and I'm not sure what data should still be revealed I'm gonna leave this to Dan, but he will likely need the bet query in order to help.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×