repay
Repay borrowed assets to a JustLend market. Specify the jToken market and amount, or use 'max' to repay the full outstanding borrow.
Instructions
Repay borrowed assets to a JustLend market. For TRC20 markets, must have approved underlying first. Use amount='max' to repay the full outstanding borrow. Typical cost: 80,00090,000 energy + 280320 bandwidth (TRX costs less than TRC20).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to repay (e.g. '500'), or 'max' for full repayment | |
| market | Yes | jToken symbol (e.g. 'jUSDT', 'jTRX') | |
| network | No | Network. Default: mainnet |