Fetch the votes
The votes results can be fetched via API below:
https://equilibria.fi/api/vote-info/[week]/[Pendle Market LP contract address]
Input Parameters:
[Week] represents the votes result in the specific week(Epoch = Week), you can find this parameter from Snapshot or Vote page.
[Pendle Market LP contract address] represents the pool which you can find at Stake page.
Output Parameters:
The output will be in form of JSON and here is a piece of example code with https://equilibria.fi/api/vote-info/37/0xC9beCdbC62efb867cB52222b34c187fB170379C6:
The totalVLEQB is the total vlEQB voted on the pool;
The voetersVLEQB are the voters address who votes on the pool and their vlEQB amount.
Last updated