factor_preview_withdraw
Preview a Factor Pro vault withdrawal and see the expected assets to receive before redeeming shares. Read-only simulation for checking withdrawal outcomes.
Instructions
Preview a withdrawal from a Factor Pro vault. Returns expected assets to receive. This is a read-only operation.
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": {
"vaultAddress": "<vaultAddress>",
"shares": "<shares>"
},
"name": "factor_preview_withdraw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shares | Yes | Amount of shares to redeem in base units (wei) | |
| userAddress | No | Address to check share balance for. If not provided, uses the active wallet. | |
| vaultAddress | Yes | The vault contract address |