Prepare owner residual withdraw
prepare_mandate_owner_withdraw_residualAfter settlement: close the account's position and pay the residual to the account. For the owner only: works with every session key revoked, ignores session limits, and still follows the market's rules. It prepares exactly this one market call and nothing else. Returns UNSIGNED transaction data for the owner's own wallet; simulated first and refused if it would revert. Never signs or sends.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | The account's owner, who will send it (0x...). Refused for any other address | |
| market | Yes | Market address (0x...) or symbol, e.g. NO-NVDA | |
| account | Yes | Mandate account address (0x...) |