Explorer web api


#1

I am coding a discord bot that is checking my smart addresses for balances and compute my revenues in my nodes. The problem is that I do not find any documentation or something like an explorer API, in order to get the balance for a specific address.

The problem is that I can not find any API for the explorer something like:
http://explorer.smartcash.cc/ext/getbalance/“my address”

Exist something like that in smartcash?

PS: I already did this kind of bots for some other coins I will put the new bot in my https://github.com/Lyndros in the case that someone else is interested.


#2

Read more here

Here are some example
https://insight.smartcash.cc/api/addr/ShS2t2AS1dvzNhzk9apQDYndadPTCkLyaS
https://insight.smartcash.cc/api/addr/ShS2t2AS1dvzNhzk9apQDYndadPTCkLyaS/balance
https://insight.smartcash.cc/api/addr/ShS2t2AS1dvzNhzk9apQDYndadPTCkLyaS/totalReceived
https://insight.smartcash.cc/api/addr/ShS2t2AS1dvzNhzk9apQDYndadPTCkLyaS/totalSent