We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The subgraph response is actually different for someone who has never staked (it returns null) compared to someone who has unstaked everything.
null
The text was updated successfully, but these errors were encountered:
{ "data": { "user": null } }
{ "data": { "user": { "tokens": [ { "court": { "id": "1", "name": "General Court" }, "staked": "40000000000000000000000", "locked": "0", "delayed": "0" } ], "totalStake": "40000000000000000000000", "totalDelayed": "0", "totalDisputes": "0" } } }
{ "data": { "user": { "tokens": [ { "court": { "id": "1", "name": "General Court" }, "staked": "0", "locked": "0", "delayed": "0" } ], "totalStake": "0", "totalDelayed": "0", "totalDisputes": "0" } } }
{ user(id: "0x...") { tokens { court { id name } staked locked delayed } totalStake totalDelayed totalDisputes } }
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The subgraph response is actually different for someone who has never staked (it returns
null
) compared to someone who has unstaked everything.The text was updated successfully, but these errors were encountered: