3ī¸Interactions With NAVI
The NAVI SDK enables full access to all core functionalities, allowing seamless integration without the need for a user interface. With the SDK, all operations can be performed programmatically, giving you complete control over your interactions with the NAVI protocol.
Currently, the SDK supports 10 coins for interaction with NAVI, with more to come in the future:
Sui, NAVX, vSui, USDT, USDC, WETH, CETUS, haSui, WBTC, AUSD
Supply to NAVI
Withdraw from NAVI
Borrow from NAVI
Repay Debt to NAVI
Claim All Available Rewards
This command allows you to claim all available rewards in a single call.
Create Account Cap
Use this function to create an account cap, which is a prerequisite for certain operations within the NAVI protocol.
Flashloan
This function initiates a flashloan from a specified pool with a given amount.
This code sample demostrated how to repay the flashloan using the provided receipt and repayment coin.
https://suiscan.xyz/mainnet/tx/fCFERvsTk7t6G4SJyuuwXU3HbVqYbQ1RKzTDaeRwM4A
Liquidation
To streamline the liquidation process, the NAVI SDK offers a dedicated function to efficiently handle bad debt liquidation.
Last updated