Validate your DERO Wallet Address Registration

Use following cmd to validate your DERO address is registered or not, Replace your DERO address in following cmd.

curl -X POST \
  http://explorer.dero.io:10102/json_rpc \
  -H 'content-type: application/json' \
  -d '{
    "jsonrpc": "2.0",
    "id": "1",
    "method": "DERO.GetEncryptedBalance",
    "params": {
    	"address": "dero1qyx4gdajev0a4veha3lcn33nnnats9dc5pm04qs2fp300w50e6rtgqgdhw757",
    	"topoheight": -1
    }
}'

If your address is unregistered you will get following output:
{"jsonrpc":"2.0","id":"1","error":{"code":-32098,"message":"Account Unregistered"}}

1 Like

Am I doing this right?

[secret@secret-server ~]$ curl -X POST \ http://explorer.dero.io:10102/json_rpc \ -H 'content-type: application/json' \ -d '{ "jsonrpc": "2.0", "id": "1", "method": "DERO.GetEncryptedBalance", "params": { "address": "dero1qyvhl5efwpc24h0qjurrvl73uzvptr402rx7sz3tdzhs2qhfzrnpgqqjfre5k", "topoheight": -1 } }'
curl: (3) URL using bad/illegal format or missing URL
curl: (3) URL using bad/illegal format or missing URL
curl: (3) URL using bad/illegal format or missing URL
curl: (3) URL using bad/illegal format or missing URL
curl: (3) nested brace in URL position 80:
{ "jsonrpc": "2.0", "id": "1", "method": "DERO.GetEncryptedBalance", "params": { "address": "dero1qyvhl5efwpc24h0qjurrvl73uzvptr402rx7sz3tdzhs2qhfzrnpgqqjfre5k", "topoheight": -1 } }
                                                                               ^

Cmd is fixed ,Try now.

Is this just for information, rather than something that has to be done ?

Thanks,
ZF.

Yes this is just for information only. This just confirm any address if it is registered or not without using wallet.

1 Like