withdraw
Redeem supplied assets from a JustLend market by specifying the jToken symbol and amount in underlying units.
Instructions
Withdraw (redeem) supplied assets from a JustLend market. Specify the amount in underlying units. May fail if assets are used as collateral for active borrows. Typical cost: ~90,000 energy + ~300 bandwidth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of underlying to withdraw (e.g. '500') | |
| market | Yes | jToken symbol (e.g. 'jUSDT', 'jTRX') | |
| network | No | Network. Default: mainnet |