deroproject / derohe

DERO Homomorphic Encryption Blockchain Protocol
Other
208 stars 82 forks source link

Curl token balance #89

Open SixofClubsss opened 2 years ago

SixofClubsss commented 2 years ago

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}}