Execute an Aave looping strategy that involves repeated supply and borrow operations.
This endpoint creates a multicall transaction that performs a series of operations:
The transaction must be authorized using the /authorization endpoint to prevent replay attacks.
Request model for executing an Aave loop strategy.
arbitrum, base, ethereum The address of the transaction sender.
"0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"
Symbol or address of token to supply to Aave..
"USDC"
"WETH"
Symbol or address of token to borrow from Aave..
"WETH"
"USDC"
Amount of collateral token to supply to Aave
x > 0"1000"
Leverage multiplier. Total loop collateral will be calculated as multiplier x initial_collateral_amount
x > 1"2.5"
Maximum allowed slippage for token swaps in percentage
0 < x <= 1002.5
Loan To Value percentage of the loop
0 < x <= 10020.5
Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
EIP-7702 authorization. Required when is_account_abstraction is False.
{
"address": "0xcA11bde05977b3631167028862bE2a173976CA11",
"chainId": 42161,
"nonce": 1000,
"r": "0x5f9f3f3226ac91bc01a72dd117141f6c6de1ed30d3af9f95c3423316dc21d615",
"s": "0x78f7982ede9dabc53d7153974c5692fda8a21fc73bdafc42aaf135505e22817c",
"yParity": 0
}Aave E-Mode category ID to set before executing the loop. If not provided, E-Mode will not be changed.
x >= 00
Whether to use account abstraction for the transaction.
true
false
The owner address of the smart account (Safe). Required when is_account_abstraction is True. This address will be used as the 'from' address when building the execTransaction call.
"0x01E62835dd7F52173546A325294762143eE4a882"
Successful Response
The unsigned multicall transaction data. User must sign and broadcast to network.