Aave V2
/getpool
Get the lend and borrow APY for the given pool from AAVE protocol.
Query Parameters
Name
Type
Description
https://api.expand.network/lendborrow/getpool?lendborrowId=1000&asset=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2{
"status": 200,
"msg": "success",
"data": {
"tokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"variableBorrowRate": "3.26",
"stableBorrowRate": "5.27",
"variableSupplyRate": "0",
"stableSupplyRate": "1.26"
}
}/getpools
Get the list of supply and borrow APYs of the mentioned assets.
Query Parameters
Name
Type
Description
/getuseraccountdata
Get the repay, borrow, and withdraw amount details for the given user.
Query Parameters
Name
Type
Description
/borrow
Trigger the borrow transaction from the given protocol.
Request Body
Name
Type
Description
/deposit
Trigger the deposit transaction from the given protocol.
Request Body
Name
Type
Description
/liquidate
Trigger the liquidate transaction from the given protocol.
Request Body
Name
Type
Description
/repay
Trigger the repay transaction from the given protocol.
Request Body
Name
Type
Description
/withdraw
Trigger the withdraw transaction from the given protocol.
Request Body
Name
Type
Description
Last updated

