borrow
Borrow assets from a JustLend market using your collateral. Specify market, amount, and network; requires sufficient liquidity and health factor check.
Instructions
Borrow assets from a JustLend market against your collateral. You must have entered a market as collateral (enter_market) and have sufficient liquidity. Check your account_summary and health_factor before borrowing. Typical cost: ~100,000 energy + ~313 bandwidth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of underlying to borrow (e.g. '500') | |
| market | Yes | jToken symbol (e.g. 'jUSDT', 'jTRX') | |
| network | No | Network. Default: mainnet |