Aave V3
Last updated
Last updated
Available on Ethereum Mainnet and Testnet, Arbitrum, Avalanche, Base, and Polygon.
Click on the endpoint to jump to the section with full details
- Get the lend and borrow APY for the given pool from AAVE protocol.
GET
- Get the list of supply and borrow APYs of the mentioned assets.
/ GET
- Get the repay, borrow, withdraw amount and health factor details for the given user.
GET
- Retrieves the lending and borrowing positions of a user, including details such as token balances and collateral usage status.
POST
- Trigger the borrow transaction from the given protocol.
POST
- Trigger the deposit transaction from the given protocol.
POST
- Trigger the repay transaction from the given protocol.
POST
- Trigger the withdraw transaction from the given protocol.
POST
- Trigger the migrate transaction from the given protocol.
POST
- Trigger the E-Mode options for the user.
POST
- Trigger the exit of isolation mode options for the user.
Many endpoints have a parameter where you can provide a lendborrow ID.
Aave V3
Ethereum
1200
Aave V3
Ethereum Testnet Sepolia
1202
Aave V3
Avalanche
1203
Aave V3
Arbitrum
1204
Aave V3
Polygon
1205
Aave V3
Base
1206
Aave V3
Optimism
1207
GET
https://api.expand.network/lendborrow/getpool
rpc
String
Remote procedural call URL.
lendborrowId*
String
asset*
String
Token address to get the details of.
GET
https://api.expand.network/lendborrow/getpools
lendborrowId*
String
assets
String
Provide a comma-separated list of token addresses to filter specific assets. If left blank, data for all assets supported by the protocol will be returned.
user
String
The public address of the sender.
rpc
String
Remote procedural call URL.
GET
https://api.expand.network/lendborrow/getuseraccountdata
rpc
String
Remote procedural call URL.
lendborrowId*
String
asset*
String
Token address.
address*
String
Public address of sender.
interestRateMode*
String
Interest mode as per Aave. Is set '1' as default.
GET
https://api.expand.network/lendborrow/getuserpositions
rpc
String
Remote procedural call URL.
address*
String
Public address of sender.
lendBorrowId*
String
POST
https://api.expand.network/lendborrow/borrow
lendborrowId*
String
asset*
String
Token address to borrow.
amount*
String
Number of tokens to be borrowed.
interestRateMode
String
Interest mode as per Aave. 0 for static and 1 for variable.
onBehalfOf*
String
Required in case borrow need to be done on behalf of other public address.
from*
String
Sender public address.
gas*
String
Maximum gas to be approved for transaction.
rpc
String
Remote procedural call URL.
gasPriority
String
low, medium, or high.
ofacCheck
Boolean
if true,
provides insights of the contract and tokens involved in the transaction.
By Default, false
Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet
With gasPriority (low):
With ofacCheck:
POST
https://api.expand.network/lendborrow/deposit
lendborrowId*
String
asset*
String
Token address to deposit.
amount*
String
Number of tokens to deposit.
onBehalfOf*
String
Required in case deposit need to be done on behalf of other public address.
from*
String
Sender public address.
gas*
String
Maximum gas to be approved for the transaction.
rpc
String
Remote procedural call URL.
involveBaseToken
String
0 for any ERC-20 token, 1 for ETH.
gasPriority
String
low, medium, or high.
ofacCheck
Boolean
if true,
provides insights of the contract and tokens involved in the transaction.
By Default, false
Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet
With gasPriority (medium):
With ofacCheck:
POST
https://api.expand.network/lendborrow/repay
lendborrowId*
String
asset*
String
Token address to repay.
interestRateMode
String
Interest mode as per Aave. 0 for static and 1 for variable.
onBehalfOf*
String
Required in case repay need to be done on behalf of other public address.
from*
String
Sender public address.
gas*
String
Maximum gas to be approved for the transaction.
rpc
String
Remote procedural call URL.
amount*
String
Amount to repay.
gasPriority
String
low, medium, or high.
ofacCheck
Boolean
if true,
provides insights of the contract and tokens involved in the transaction.
By Default, false
Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet
With gasPriority (low):
With ofacCheck:
POST
https://api.expand.network/lendborrow/withdraw
lendborrowId*
String
asset*
String
Token address to be withdraw.
amount*
String
Number of tokens to withdraw.
to*
String
Recipient public address.
from*
String
Sender public address.
gas*
String
Maximum gas to be approved for the transaction.
rpc
String
Remote procedural call URL.
gasPriority
String
low, medium, or high.
ofacCheck
Boolean
if true,
provides insights of the contract and tokens involved in the transaction.
By Default, false
Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet
With gasPriority:
With ofacCheck:
POST
https://api.expand.network/lendborrow/migrate
lendborrowId*
String
assets
String
Token addresses to migrate.
from*
String
Sender public address.
gas*
String
Maximum gas to be approved for the transaction.
rpc
String
Remote procedural call URL.
ofacCheck
Boolean
if true,
provides insights of the contract and tokens involved in the transaction.
By Default, false
Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet
With gasPriority:
With ofacCheck:
POST
https://api.expand.network/lendborrow/setuseremode
lendborrowId*
String
categoryId*
String
0 for default. 1 for stablecoins.
from*
String
Sender public address.
gas*
String
Maximum gas to be approved for the transaction.
rpc
String
Remote procedural call URL.
gasPriority
String
low, medium, or high.
ofacCheck
Boolean
if true,
provides insights of the contract and tokens involved in the transaction.
By Default, false
Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet
With gasPriority (low):
With ofacCheck:
POST
https://api.expand.network/lendborrow/exitisolationmode
lendborrowId*
String
asset*
String
Token address to exit isolation mode.
from*
String
Sender public address.
gas*
String
Maximum gas to be approved for the transaction.
rpc
String
Remote procedural call URL.
ofacCheck
Boolean
if true,
provides insights of the contract and tokens involved in the transaction.
By Default, false
Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet
With gasPriority:
With ofacCheck:
Below is a list of lendborrow IDs related to Aave V3. Please see the for a complete Lending Protocol ID list and more information.
Refer to the page for details.
Identify the protocol by providing a For example, Aave V3 on Ethereum is 1200.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.