supply
Deposit assets into a JustLend market to earn interest. Returns a jToken balance representing your deposit.
Instructions
Supply (deposit) assets into a JustLend market to earn interest. For TRC20 markets, you must first call approve_underlying. For jTRX, TRX is sent directly. Returns a jToken balance representing your deposit. Typical cost: ~100,000 energy + ~310 bandwidth for TRC20, ~80,000 energy + ~280 bandwidth for TRX. Use estimate_lending_energy tool for precise estimates before executing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of underlying to supply (e.g. '1000' for 1000 USDT) | |
| market | Yes | jToken symbol (e.g. 'jUSDT', 'jTRX') | |
| network | No | Network. Default: mainnet |