intentAaveBorrow
Borrow tokens from Aave using supplied collateral, with options for stable or variable interest rate modes, supported by Ethereum-based automation tools.
Instructions
Borrows tokens from Aave using your supplied collateral. By default, the variable rate mode (2) is used.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | Amount of tokens to borrow (in human-readable format). | |
asset | Yes | Token contract address to borrow. | |
chainId | Yes | Chain ID for borrowing. | |
interestRateMode | No | 1 for stable, 2 for variable (default is variable). |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"amount": {
"description": "Amount of tokens to borrow (in human-readable format).",
"type": "string"
},
"asset": {
"description": "Token contract address to borrow.",
"type": "string"
},
"chainId": {
"description": "Chain ID for borrowing.",
"type": "number"
},
"interestRateMode": {
"description": "1 for stable, 2 for variable (default is variable).",
"type": "number"
}
},
"required": [
"chainId",
"asset",
"amount"
],
"type": "object"
}