Rebalance your vault
stocks_rebalanceFree. Brings your vault back to its target weights (check stocks_vault: rebalanceNeeded). Returns an UNSIGNED transaction {to, data, value, chainId} on Base; nothing happens until you sign it with your own wallet and broadcast it. Liquid never holds keys or funds.
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": {
"vault": "<vault>"
},
"name": "stocks_rebalance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | Yes | Your vault address. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Contract to call | |
| data | No | Calldata, sign and broadcast as-is | |
| mode | No | permit: sign typedData first | |
| next | No | What to do next | |
| after | No | What to do after it confirms | |
| steps | No | When two transactions are needed (approve, then deposit), sign and send them in order | |
| value | No | Native value, always 0 | |
| chainId | No | Chain id (8453 = Base) | |
| typedData | No | EIP-712 permit to sign off-chain (free, no gas) | |
| attribution | No | ERC-8021 builder attribution suffix info |