I am building an app. I need to know two things about an address: 1) balance 2) is it unused. An address can have a zero balance and still be used. I am using this call to get the balance:
But, this call only returns the balance. If I want to know if the address has ever been used, I need to get the transactions. I can do that with this call:
The problem is that this is massive overkill. I have to make two calls to find out if the address has a balance and is unused. And, I am going to get back a lot of data. I do not need to see all the transactions.
It would be really awesome if the addr json included a transaction count, or a total received so I can tell if the address is used or not. Is there another API other than gastracker that can do this?