aave_flash_loan_simple
Build a single-asset AAVE V3 flash loan transaction without opening debt or fee waivers. Specify chain, receiver contract, token, and amount to get unsigned calldata.
Instructions
Build a single-asset flash loan transaction. Simpler than multi-asset: no debt opening, no fee waiver.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain": "<chain>",
"receiverAddress": "<receiverAddress>",
"asset": "<asset>",
"amount": "<amount>"
},
"name": "aave_flash_loan_simple"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Token address to borrow | |
| chain | Yes | Target chain | |
| amount | Yes | Amount in human-readable units | |
| params | No | Arbitrary bytes to pass to the receiver callback (hex-encoded) | 0x |
| receiverAddress | Yes | Contract that will receive the flash loan and execute the callback |