getbalance API
Is it possible to get balance on address via API?
-
Ankita commented
Now i am able to see address as Anonymous, thanks for that, but how to get detailed transactions from this address.
e.g i want to use this api to get details of transaction :
https://chainz.cryptoid.info/xzc/api.dws?q=multiaddr&active=a2UyL4WPyCnB7MZ9s33PNoKEYkXrbkxLxP&key=*****&n=4600 -
AdminFairglu (cryptoID owner, cryptoID) commented
The a2UyL4 was missing because the rich list is updated only periodically (this is about to change).
Global anonymized funds were not ranked, they now should be, thanks for reporting !
-
Ankita commented
There is a discrepancy in api for richlist of Zcoin when i hit : https://chainz.cryptoid.info/xzc/api.dws?q=rich,
i don't see 'Zeromint' and 'a2UyL4WPyCnB7MZ9s33PNoKEYkXrbkxLxP' which are visible through https://explorer.zcoin.io/richlist -
Anonymous commented
how can you add api
-
sbouli commented
yes ... you are absolutely right ... sorry
-
AdminFairglu (cryptoID owner, cryptoID) commented
@sbouli what do you mean JSON format? it's just a number and JSON.parse() will accept it.
-
sbouli commented
can you add a format param to get a json form ? it would enable it to be used within cryptoglance ... (using cache and not updating more than once an hour)
-
AdminFairglu (cryptoID owner, cryptoID) commented
Hmm, just tested, it worked, what/how are you calling?
for instance for DRK #1 rich address (Xr57hNKbEzNHFkTsUmfhPxKRfnnt9nVe7z), the query is
http://chainz.cryptoid.info/drk/api.dws?q=getbalance&a=Xr57hNKbEzNHFkTsUmfhPxKRfnnt9nVe7z
-
Anonymous commented
API doesnt work :( In the frontend i get balance, but in API i get only 0 - tested with different addresses...
-
Anonymous commented
You are AWESOME! :-)
-
AdminFairglu (cryptoID owner, cryptoID) commented
Added! See http://chainz.cryptoid.info/api.dws for details