FAQ
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: sAVAX to AVAX Rate
This can be read from the contract using Function 14: sAVAX to AVAX
or 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?
You can refer to the Google Compound V2 liquidation guide for help in setting up a liquidator bot. This should direct you to their Docs.
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?
Yes, you can use the following subgraph to fetch open positions and other data: BENQI Subgraph
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
.
The implementation can be viewed here: Proof of Reserves and Keeper Implementation
What about the Chainlink price feed for sAVAX in USD on Avalanche?
That can be found here: Chainlink Price Feed (sAVAX/USD)
It can be read using Function 8: sAVAX to AVAX
Last updated