withdraw_from_lending
Withdraw supplied assets from a lending protocol by specifying protocol, asset, amount, and private key. Supports multiple networks and 'max' for full withdrawal.
Instructions
Withdraw supplied assets from a lending protocol
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Asset address to withdraw | |
| amount | Yes | Amount to withdraw (in wei, use 'max' for full withdraw) | |
| 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. |