Base URL:
https://open-api.naviprotocol.io/api/packageMethod: GET
Description:
Returns the current NAVI package ID and details of outdated package versions for backward compatibility.
Sample Response:
3. NAVI Config API
Base URL:
https://open-api.naviprotocol.io/api/navi/contract/configsMethod: GET
Description:
Provides detailed configuration data for NAVI Protocol, including reserve data, price feeds, and flash loan configurations:
Reserve Data: Supply and borrow caps, rates, LTV, treasury balance, and liquidation factors.
Price Feed: Oracle details, pricing thresholds, and historical price settings.
Flash Loan Configurations: Max/min amounts, supplier rates, and treasury rates.
Sample Response:
4. NAVI Fee and Revenue API
Base URL:
https://open-api.naviprotocol.io/api/navi/fee?fromTimestamp={fromTimeStamp}
Method: GET
Description:
Fetches NAVI's fee and revenue data starting from a specified timestamp. The data is calculated for each 24-hour period.
Parameters:
fromTimestamp (integer): The starting time in Unix timestamp format.
Sample Response:
5. NAVI Flashloan Config API
Base URL:
https://open-api.naviprotocol.io/api/navi/flashloan
Method: GET
Description:
Fetches the configuration details for NAVI's flashloan settings, including limits, fees, and pool information.
Explanation of Response Parameters:
0x2::sui::SUI:
Represents the asset pool for which the flashloan configuration is provided. In this case, it is the SUI token.
max:
The maximum amount with token decimal of this asset available for a single flashloan transaction.
Value in the example:"200000000000000" (denoted in the smallest unit of the asset).
min:
The minimum amount with token decimal of this asset required to initiate a flashloan.
Value in the example:"0" (indicating no minimum amount is required).
assetId:
A unique asset id for the asset within the NAVI Protocol.
Value in the example:0.
poolId:
The unique id of the pool from which the flashloan will be provided.
Value in the example:"0x96df0fce3c471489f4debaaa762cf960b3d97820bd1f3f025ff8190730e958c5".
supplierFee:
The fee charged to suppliers of the asset for participating in the flashloan mechanism.
Value in the example:0 (indicating no supplier fee is charged).
flashloanFee:
The fee rate (percentage) charged for executing the flashloan.
Value in the example:0.0006 (indicating a 0.06% fee for the loan amount).
Sample Response:
6. NAVI Oracle API
Base URL:
https://open-api.naviprotocol.io/api/navi/oracle
Method: GET
Description:
Fetches oracle-related configuration and data for NAVI, including price feed settings, thresholds, and parameters for calculating effective prices.
Sample Response:
7. NAVI Claimed Rewards History
Base URL:
https://open-api.naviprotocol.io/api/navi/user/rewards?userAddress={userAddress}
Method: GET
Description:
Retrieves the transaction IDs of rewards claimed by a specific user, identified by their wallet address.