intentAaveRepay
Repay Aave loans with specified assets and amounts, supporting stable or variable rate modes. Ideal for managing debt on Ethereum-based chains efficiently.
Instructions
Repays your Aave debt. By default, the variable rate mode (2) is used for repayment.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | Amount of tokens to repay (in human-readable format). | |
asset | Yes | Token contract address of the asset to repay. | |
chainId | Yes | Chain ID for repayment. | |
rateMode | 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 repay (in human-readable format).",
"type": "string"
},
"asset": {
"description": "Token contract address of the asset to repay.",
"type": "string"
},
"chainId": {
"description": "Chain ID for repayment.",
"type": "number"
},
"rateMode": {
"description": "1 for stable, 2 for variable (default is variable).",
"type": "number"
}
},
"required": [
"chainId",
"asset",
"amount"
],
"type": "object"
}