Equilibria Finance
  • Introduction
  • Why Equilibria
  • MECHANISM
    • Boost Pendle LP Yield
      • For Pendle LPs
      • For PENDLE holders
    • Fees and Rewards Distribution
      • Protocol Fees From LPs
      • Reward for Pendle LPs
      • Rewards for ePENDLE Stakers
      • Rewards for EQB Holders
    • APY Calculation
      • Why use current APY calculation
    • Vote and Bribes
    • Cross Chain
  • Token
    • EQB
      • Tokenomics
      • xEQB
        • Convert/Redeem
        • xEQB to vlEQB
        • Voting
      • vlEQB
      • Deflation Mechanism
    • Bridge
      • PENDLE
      • EQB
        • Ethereum <> Arbitrum
        • Ethereum <> BNB chain
        • Ethereum <> Optimism
        • Ethereum <> Mantle
        • Ethereum <> Base
        • Ethereum <> Sonic
        • Ethereum <> Bera
      • ePENDLE
  • Integration
    • Deployed Contracts
      • Ethereum
      • Arbitrum
      • BNB Chain
      • Optimism
      • Mantle
      • Base
      • Sonic
      • Bera
    • Fetch the votes
    • Fetch the user deposited position
  • Security & Risk
    • Audits
    • Risk Mitigation
    • Multi-Sig & Timelock
    • Bug Bounty
  • Campaigns
    • PENDLE BN launch campaign
  • LINKS
    • Equilibria Finance
    • Github
    • Twitter
    • Telegram
    • Discord
Powered by GitBook
On this page
  1. Integration

Fetch the votes

PreviousBeraNextFetch the user deposited position

Last updated 3 months ago

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 or .

[Pendle Market LP contract address] represents the pool which you can find at .

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:

{
"week": "Week #37",
"marketChainId": 1,
"market": "0xC9beCdbC62efb867cB52222b34c187fB170379C6",
"totalVlEQB": 6000,
"votersVlEQB": {
    "0x8549D43ac2741219a7D26754fbE1801b82184A3B": 3000, 
    "0x43712aA9E234C20E07071839446a9ddcF546abc6": 6000
   }
}

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.

Snapshot
Vote page
Stake page