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