repay_to_lending
Repay borrowed assets to a lending protocol like Aave V3. Specify the asset, amount, and network to clear your debt and avoid accruing interest.
Instructions
Repay borrowed assets to a lending protocol
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Asset address to repay | |
| amount | Yes | Amount to repay (in wei, use 'max' for full repay) | |
| network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |
| protocol | Yes | Lending protocol (e.g., 'Aave V3') | |
| privateKey | Yes | Private key in hex format (with or without 0x prefix). SECURITY: This is used only for address derivation and is not stored. The private key will not be logged or displayed in chat history. | |
| interestRateMode | No | Interest rate mode of the debt | variable |