Aave V2 APIs
  • Introduction
  • aave v2
    • aToken Address
    • Aave Reserve Rates
    • Aave Reserve Configuration
    • User Health
    • Allowance
    • Deposit
    • Withdraw
    • Borrow
    • Repay
    • Switch Interest Type
    • Collateral Setting
Powered by GitBook
On this page

Was this helpful?

  1. aave v2

Aave Reserve Configuration

Returns the configuration of the reserve. For you example - You can use this API end point to fetch liquidation threshold, isActive for any reserve. Look at response structure for info.

/aave/configuration

POST https://cryptotalk-public-gateway-byeii62k.de.gateway.dev/aave/configuration

Query Parameters

Name
Type
Description

key

string

API Key

{
    "isError": false,
    "errorMsg": "OK",
    "data": {
        "AAVE": {
            "LTV": 50,
            "liquidation_threshold": 65,
            "liquidation_penalty": 10,
            "reserveFactor": 0,
            "canUseAsCollateral": true,
            "canBorrow": false,
            "stableBorrowRateEnabled": false,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against AAVE. The user can borrow up to 0.5 worth of ETH in the principal currency for every 1 ETH worth of AAVE",
            "LTV_threshold_desc": "AAVE (as collateral) has a liquidation threshold of 65%, it means that the loan will be liquidated when it is worth 65% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the AAVE at 10% discount and keep the difference as a bonus!"
        },
        "BAT": {
            "LTV": 70,
            "liquidation_threshold": 75,
            "liquidation_penalty": 10,
            "reserveFactor": 20,
            "canUseAsCollateral": true,
            "canBorrow": true,
            "stableBorrowRateEnabled": true,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against BAT. The user can borrow up to 0.7 worth of ETH in the principal currency for every 1 ETH worth of BAT",
            "LTV_threshold_desc": "BAT (as collateral) has a liquidation threshold of 75%, it means that the loan will be liquidated when it is worth 75% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the BAT at 10% discount and keep the difference as a bonus!"
        },
        "BUSD": {
            "LTV": 0,
            "liquidation_threshold": 0,
            "liquidation_penalty": -100,
            "reserveFactor": 10,
            "canUseAsCollateral": false,
            "canBorrow": true,
            "stableBorrowRateEnabled": false,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against BUSD. The user can borrow up to 0 worth of ETH in the principal currency for every 1 ETH worth of BUSD",
            "LTV_threshold_desc": "BUSD (as collateral) has a liquidation threshold of 0%, it means that the loan will be liquidated when it is worth 0% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the BUSD at -100% discount and keep the difference as a bonus!"
        },
        "CRV": {
            "LTV": 40,
            "liquidation_threshold": 55,
            "liquidation_penalty": 15,
            "reserveFactor": 0,
            "canUseAsCollateral": true,
            "canBorrow": true,
            "stableBorrowRateEnabled": false,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against CRV. The user can borrow up to 0.4 worth of ETH in the principal currency for every 1 ETH worth of CRV",
            "LTV_threshold_desc": "CRV (as collateral) has a liquidation threshold of 55%, it means that the loan will be liquidated when it is worth 55% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the CRV at 15% discount and keep the difference as a bonus!"
        },
        "DAI": {
            "LTV": 75,
            "liquidation_threshold": 80,
            "liquidation_penalty": 5,
            "reserveFactor": 10,
            "canUseAsCollateral": true,
            "canBorrow": true,
            "stableBorrowRateEnabled": true,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against DAI. The user can borrow up to 0.75 worth of ETH in the principal currency for every 1 ETH worth of DAI",
            "LTV_threshold_desc": "DAI (as collateral) has a liquidation threshold of 80%, it means that the loan will be liquidated when it is worth 80% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the DAI at 5% discount and keep the difference as a bonus!"
        },
        "ENJ": {
            "LTV": 55,
            "liquidation_threshold": 60,
            "liquidation_penalty": 10,
            "reserveFactor": 20,
            "canUseAsCollateral": true,
            "canBorrow": true,
            "stableBorrowRateEnabled": true,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against ENJ. The user can borrow up to 0.55 worth of ETH in the principal currency for every 1 ETH worth of ENJ",
            "LTV_threshold_desc": "ENJ (as collateral) has a liquidation threshold of 60%, it means that the loan will be liquidated when it is worth 60% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the ENJ at 10% discount and keep the difference as a bonus!"
        },
        "ETH": {
            "LTV": 80,
            "liquidation_threshold": 82.5,
            "liquidation_penalty": 5,
            "reserveFactor": 10,
            "canUseAsCollateral": true,
            "canBorrow": true,
            "stableBorrowRateEnabled": true,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against ETH. The user can borrow up to 0.8 worth of ETH in the principal currency for every 1 ETH worth of ETH",
            "LTV_threshold_desc": "ETH (as collateral) has a liquidation threshold of 82.5%, it means that the loan will be liquidated when it is worth 82.5% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the ETH at 5% discount and keep the difference as a bonus!"
        },
        "GUSD": {
            "LTV": 0,
            "liquidation_threshold": 0,
            "liquidation_penalty": -100,
            "reserveFactor": 0,
            "canUseAsCollateral": false,
            "canBorrow": true,
            "stableBorrowRateEnabled": false,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against GUSD. The user can borrow up to 0 worth of ETH in the principal currency for every 1 ETH worth of GUSD",
            "LTV_threshold_desc": "GUSD (as collateral) has a liquidation threshold of 0%, it means that the loan will be liquidated when it is worth 0% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the GUSD at -100% discount and keep the difference as a bonus!"
        },
        "KNC": {
            "LTV": 60,
            "liquidation_threshold": 65,
            "liquidation_penalty": 10,
            "reserveFactor": 20,
            "canUseAsCollateral": true,
            "canBorrow": true,
            "stableBorrowRateEnabled": true,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against KNC. The user can borrow up to 0.6 worth of ETH in the principal currency for every 1 ETH worth of KNC",
            "LTV_threshold_desc": "KNC (as collateral) has a liquidation threshold of 65%, it means that the loan will be liquidated when it is worth 65% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the KNC at 10% discount and keep the difference as a bonus!"
        },
        "MANA": {
            "LTV": 60,
            "liquidation_threshold": 65,
            "liquidation_penalty": 10,
            "reserveFactor": 35,
            "canUseAsCollateral": true,
            "canBorrow": true,
            "stableBorrowRateEnabled": true,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against MANA. The user can borrow up to 0.6 worth of ETH in the principal currency for every 1 ETH worth of MANA",
            "LTV_threshold_desc": "MANA (as collateral) has a liquidation threshold of 65%, it means that the loan will be liquidated when it is worth 65% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the MANA at 10% discount and keep the difference as a bonus!"
        },
        "MKR": {
            "LTV": 60,
            "liquidation_threshold": 65,
            "liquidation_penalty": 10,
            "reserveFactor": 20,
            "canUseAsCollateral": true,
            "canBorrow": true,
            "stableBorrowRateEnabled": true,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against MKR. The user can borrow up to 0.6 worth of ETH in the principal currency for every 1 ETH worth of MKR",
            "LTV_threshold_desc": "MKR (as collateral) has a liquidation threshold of 65%, it means that the loan will be liquidated when it is worth 65% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the MKR at 10% discount and keep the difference as a bonus!"
        },
        "SNX": {
            "LTV": 15,
            "liquidation_threshold": 40,
            "liquidation_penalty": 10,
            "reserveFactor": 35,
            "canUseAsCollateral": true,
            "canBorrow": true,
            "stableBorrowRateEnabled": false,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against SNX. The user can borrow up to 0.15 worth of ETH in the principal currency for every 1 ETH worth of SNX",
            "LTV_threshold_desc": "SNX (as collateral) has a liquidation threshold of 40%, it means that the loan will be liquidated when it is worth 40% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the SNX at 10% discount and keep the difference as a bonus!"
        },
        "TUSD": {
            "LTV": 75,
            "liquidation_threshold": 80,
            "liquidation_penalty": 5,
            "reserveFactor": 10,
            "canUseAsCollateral": true,
            "canBorrow": true,
            "stableBorrowRateEnabled": true,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against TUSD. The user can borrow up to 0.75 worth of ETH in the principal currency for every 1 ETH worth of TUSD",
            "LTV_threshold_desc": "TUSD (as collateral) has a liquidation threshold of 80%, it means that the loan will be liquidated when it is worth 80% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the TUSD at 5% discount and keep the difference as a bonus!"
        },
        "UNI": {
            "LTV": 60,
            "liquidation_threshold": 65,
            "liquidation_penalty": 10,
            "reserveFactor": 20,
            "canUseAsCollateral": true,
            "canBorrow": true,
            "stableBorrowRateEnabled": false,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against UNI. The user can borrow up to 0.6 worth of ETH in the principal currency for every 1 ETH worth of UNI",
            "LTV_threshold_desc": "UNI (as collateral) has a liquidation threshold of 65%, it means that the loan will be liquidated when it is worth 65% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the UNI at 10% discount and keep the difference as a bonus!"
        },
        "USDC": {
            "LTV": 80,
            "liquidation_threshold": 85,
            "liquidation_penalty": 5,
            "reserveFactor": 10,
            "canUseAsCollateral": true,
            "canBorrow": true,
            "stableBorrowRateEnabled": true,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against USDC. The user can borrow up to 0.8 worth of ETH in the principal currency for every 1 ETH worth of USDC",
            "LTV_threshold_desc": "USDC (as collateral) has a liquidation threshold of 85%, it means that the loan will be liquidated when it is worth 85% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the USDC at 5% discount and keep the difference as a bonus!"
        },
        "USDT": {
            "LTV": 0,
            "liquidation_threshold": 0,
            "liquidation_penalty": -100,
            "reserveFactor": 10,
            "canUseAsCollateral": false,
            "canBorrow": true,
            "stableBorrowRateEnabled": true,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against USDT. The user can borrow up to 0 worth of ETH in the principal currency for every 1 ETH worth of USDT",
            "LTV_threshold_desc": "USDT (as collateral) has a liquidation threshold of 0%, it means that the loan will be liquidated when it is worth 0% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the USDT at -100% discount and keep the difference as a bonus!"
        },
        "WBTC": {
            "LTV": 70,
            "liquidation_threshold": 75,
            "liquidation_penalty": 10,
            "reserveFactor": 20,
            "canUseAsCollateral": true,
            "canBorrow": true,
            "stableBorrowRateEnabled": true,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against WBTC. The user can borrow up to 0.7 worth of ETH in the principal currency for every 1 ETH worth of WBTC",
            "LTV_threshold_desc": "WBTC (as collateral) has a liquidation threshold of 75%, it means that the loan will be liquidated when it is worth 75% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the WBTC at 10% discount and keep the difference as a bonus!"
        },
        "YFI": {
            "LTV": 40,
            "liquidation_threshold": 55,
            "liquidation_penalty": 15,
            "reserveFactor": 20,
            "canUseAsCollateral": true,
            "canBorrow": true,
            "stableBorrowRateEnabled": false,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against YFI. The user can borrow up to 0.4 worth of ETH in the principal currency for every 1 ETH worth of YFI",
            "LTV_threshold_desc": "YFI (as collateral) has a liquidation threshold of 55%, it means that the loan will be liquidated when it is worth 55% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the YFI at 15% discount and keep the difference as a bonus!"
        },
        "ZRX": {
            "LTV": 60,
            "liquidation_threshold": 65,
            "liquidation_penalty": 10,
            "reserveFactor": 20,
            "canUseAsCollateral": true,
            "canBorrow": true,
            "stableBorrowRateEnabled": true,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against ZRX. The user can borrow up to 0.6 worth of ETH in the principal currency for every 1 ETH worth of ZRX",
            "LTV_threshold_desc": "ZRX (as collateral) has a liquidation threshold of 65%, it means that the loan will be liquidated when it is worth 65% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the ZRX at 10% discount and keep the difference as a bonus!"
        },
        "sUSD": {
            "LTV": 0,
            "liquidation_threshold": 0,
            "liquidation_penalty": -100,
            "reserveFactor": 20,
            "canUseAsCollateral": false,
            "canBorrow": true,
            "stableBorrowRateEnabled": false,
            "isActive": true,
            "isFrozen": false,
            "LTV_desc": "The Loan-to-Value ratio represents the maximum borrowing power against sUSD. The user can borrow up to 0 worth of ETH in the principal currency for every 1 ETH worth of sUSD",
            "LTV_threshold_desc": "sUSD (as collateral) has a liquidation threshold of 0%, it means that the loan will be liquidated when it is worth 0% of the collateral value.",
            "penalty_desc": "When a liquidation occurs, liquidators repay part or all of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the sUSD at -100% discount and keep the difference as a bonus!"
        }
    }
}

PreviousAave Reserve RatesNextUser Health

Last updated 4 years ago

Was this helpful?