zest_repay
Repay borrowed assets plus accrued interest to Zest Protocol markets using an asset symbol or contract ID, optionally on behalf of another address.
Instructions
Repay borrowed assets to Zest Protocol (v0-4-market).
Repays borrowed assets plus accrued interest. You can use the asset symbol (e.g., 'USDC', 'sBTC') or full contract ID.
Note: Zest Protocol is only available on mainnet.
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 to repay (in smallest units) | |
| onBehalfOf | No | Optional: repay on behalf of another address |