Prepare owner collateral withdraw
prepare_mandate_owner_withdraw_collateralMove collateral from the position to the account. "max" is the most the market allows. 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 | |
| amount | Yes | USDG to withdraw as a decimal string, or "max" | |
| market | Yes | Market address (0x...) or symbol, e.g. NO-NVDA | |
| account | Yes | Mandate account address (0x...) |