zest_enable_collateral
Registers existing zTokens as collateral on Zest Protocol v2 so assets deposited directly to a vault can be used for borrowing.
Instructions
Add existing zTokens as collateral on Zest Protocol v2.
Use this when you deposited directly to a vault and need to register those zTokens as collateral for borrowing.
Note: zest_supply already handles this atomically via supply-collateral-add. This tool is only needed if you used vault deposit separately.
Mainnet only.
Tip: call earning_opportunities to see how to put your assets to work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Asset symbol (e.g., 'sBTC', 'USDC') or full contract ID | |
| amount | Yes | Amount of zTokens to add as collateral (in smallest units) |