Prepare: buy a call or a put
buy_optionUnsigned transactions to buy options from the best ask of a series (or a given ask with order_id), checked on chain: exact approval of the premium, then fillAsk with that premium as the most it may take. A fill takes the whole ask or leaves at least 0.001 of a share. Returns the cost, Borro's share, the break-even and what it pays at expiry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | call or put | |
| expiry | No | this (default), next, or a Friday's date like 2026-10-16 | |
| shares | Yes | Shares to buy, in whole units as a decimal string, like "1.5" | |
| strike | No | The strike in dollars, like "250" | |
| symbol | Yes | A stock on Borro by its ticker, like NVDA or AAPL (markets lists every one) | |
| wallet | Yes | The wallet's address (0x...); the transactions are built for it to sign | |
| order_id | No | Buy from this ask instead of the best one | |
| max_premium | No | The most to pay in all, USDG (optional), in whole units as a decimal string, like "1.5" |