Prepare: claim a settled option
claim_optionUnsigned transaction burning the wallet's tokens of a settled series and taking what they pay: a call pays the stock's Borro vault shares, a put USDG (or the Steakhouse vault's shares with as_shares, for when the vault is short of free USDG). All the wallet holds unless shares is given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shares | No | Shares to claim (optional, default all), in whole units as a decimal string, like "1.5" | |
| wallet | Yes | The wallet's address (0x...); the transactions are built for it to sign | |
| as_shares | No | A put: take Steakhouse USDG vault shares instead of USDG | |
| series_id | Yes | The series id (position lists them) |