Skip to content
New issue

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

Curl token balance #89

Open
SixofClubsss opened this issue Aug 21, 2022 · 0 comments
Open

Curl token balance #89

SixofClubsss opened this issue Aug 21, 2022 · 0 comments
Assignees
Labels
needs investigation Further investigation is required

Comments

@SixofClubsss
Copy link

Have noticed sometimes curl does not show the token balance that is represented in the wallet. Example, after deploying token SC the balance of the token will show in the wallet when using:
balance eb0bfd7205a8753282ebf62a103451cdb30f161db301db742b50dc1b9f2a5c88
response:
SCID eb0bfd7205a8753282ebf62a103451cdb30f161db301db742b50dc1b9f2a5c88 Balance : 0.00001

When using curl:
curl http://127.0.0.1:10103/json_rpc -d '{"jsonrpc":"2.0","id": "1","method": "GetBalance", "params": {"scid":"eb0bfd7205a8753282ebf62a103451cdb30f161db301db742b50dc1b9f2a5c88"}}' -H 'Content-Type: application/json';
response:
{"jsonrpc":"2.0","id":"1","result":{"balance":0,"unlocked_balance":0}}

@DankFC DankFC added the needs investigation Further investigation is required label May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs investigation Further investigation is required
Projects
None yet
Development

No branches or pull requests

2 participants