LogoLogo
  • Introduction to BENQI
  • 💻DEVELOPERS
    • Overview
    • FAQ
  • 🏛️BENQI Markets
    • Overview
    • Core Markets
    • Avalanche Ecosystem Markets
    • Protocol Parameters
    • Health & Liquidations
    • Getting Started
    • Markets App
  • 💧BENQI Liquid Staking
    • Overview
    • Architecture
    • Getting Started
    • Liquid Staking App
  • 🔥Ignite
    • Overview
    • PAYG
    • Stake
    • Getting Started
    • Ignite App
  • 🗳️Node Voting
    • Overview
    • Delegation Pools
    • Getting Started
  • 🪙Benqinomics
    • Overview
    • BENQI Miles & Progressive Decentralization
    • Token Distribution & Vesting
    • Liquidity and Community Incentives
  • 📌RESOURCES
    • Github
    • Contracts
      • 🏦Core Markets
      • 💱Isolated Markets (Avalanche Ecosystem Markets)
      • 💧Liquid Staking
      • 🔥Ignite
      • ⛓️Price Feeds (Chainlink)
      • ⛓️Price Feeds (Chaos Oracle)
    • Risks & Audits
    • Media Kit (Logos & Graphics)
Powered by GitBook
On this page
  • What can I build with BENQI?
  • How could I get started building?
  • How can I find the sAVAX to AVAX exchange rate?
  • Is there a contract call for burning sAVAX after users have redeemed it?
  • How do I get the exchange rate history of sAVAX/AVAX?
  • How do you create a liquidator bot?
  • Do you have an API to fetch data, or do you have any plans to create one?
  • Is there a subgraph to fetch open positions on BENQI's lending market?
  • How did BENQI implement Proof of Reserves and Keepers?
  • What about the Chainlink price feed for sAVAX in USD on Avalanche?
  1. DEVELOPERS

FAQ

Last updated 6 months ago

What can I build with BENQI?

Answer

How could I get started building?

Answer

How can I find the sAVAX to AVAX exchange rate?

To check the exchange rate for sAVAX to AVAX, click the following link:

This can be read from the contract using Function 14: sAVAX to AVAXor Function 18: AVAX to sAVAX

Is there a contract call for burning sAVAX after users have redeemed it?

Burning sAVAX is automated and only occurs when redeeming AVAX. Users cannot burn sAVAX directly. The redemption process triggers the burn within the smart contract.

How do I get the exchange rate history of sAVAX/AVAX?

No one can burn on their own. The only way to burn is by redeeming AVAX and that is automated on the smart contract.

How do you create a liquidator bot?

Do you have an API to fetch data, or do you have any plans to create one?

BENQI does not have an API for data fetching.

Historical data is pulled from the subgraph, while real-time data is pulled directly from the smart contracts.

Is there a subgraph to fetch open positions on BENQI's lending market?

How did BENQI implement Proof of Reserves and Keepers?

Keepers monitor the system by calling checkUpkeep, and if a need for action is detected, they call performUpkeep.

What about the Chainlink price feed for sAVAX in USD on Avalanche?

You can refer to the Google Compound V2 liquidation guide for help in setting up a liquidator bot. This should direct you to

Yes, you can use the following subgraph to fetch open positions and other data:

The implementation can be viewed here:

That can be found here: It can be read using Function 8: sAVAX to AVAX

💻
sAVAX to AVAX Rate
their Docs.
BENQI Subgraph
Proof of Reserves and Keeper Implementation
Chainlink Price Feed (sAVAX/USD)