After tzscan shutdown, I am trying to use tzstats as an alternative to calculate delegating rewards. Is there a way to get a list of delegators for a specific baking address and cycle using the tzstats api?
-
you should ask only questions that relevant to one topic, there are two very different questions here which you should separate into two individual questions. – Frank Oct 26 '19 at 17:05
-
Before this question gets closed, please follow Franks advice to get a good answer and edit this question to ask only how to get the delegators and create another question to ask about income precision – cousinit♦ Oct 26 '19 at 20:08
https://api.tzstats.com/tables/account?delegate=tz1ADDRESS
The full API used for the 'Delegators' tab:
curl 'https://api.tzstats.com/tables/account?delegate=tz1ADDRESS&is_funded=1&columns=row_id,address,delegated_balance,spendable_balance,unclaimed_balance,delegated_since_time,delegated_since&limit=60'