Strike Docs
Search…
VoterService
The voter history service retrieves account and historical information about votes. You can use this API to find out the vote account or vote history.
1
// Retreives a list of vote accounts
2
fetch("https://api.strike.org/api/voters/accounts");
3
4
// Retreives a detail information of vote account
5
fetch("https://api.strike.org/api/voters/accounts/:address");
6
7
// Retreives a history of vote account
8
fetch("https://api.strike.org/api/voters/history/:address");
9
10
// Retreives a vote data by proposal index
11
fetch("https://api.strike.org/api/voters/:proposalId");
Copied!
Last modified 9mo ago
Copy link