Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
feat: show delegate voters in vote modal #905
Adds the amount of voters of a delegate to the vote modal, fixes #901
Extra info: v1 endpoint will return a list of all the voters + their balances of a delegate, while v2 api will only show 100 and have pagination to show the rest. For small voters this will be 1 request like in v1, but if you want to filter out all the voters with less than 0.1 ark (as is currently done on the explorer with v1 api), you would need to make a lot of requests for delegates like biz_classic that have 5k voters. Maybe we need an api endpoint for this in v2 too? Or something to increase the limit so we aren't limited by 100 values.
Types of changes