withdraw_all
Withdraw all supplied assets from a JustLend market by redeeming all jTokens, returning your full collateral.
Instructions
Withdraw ALL supplied assets from a JustLend market by redeeming all jTokens. Typical cost: ~90,000 energy + ~300 bandwidth.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"market": "<market>"
},
"name": "withdraw_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | jToken symbol (e.g. 'jUSDT') | |
| network | No | Network. Default: mainnet |