Prepare: write a call or a put
write_optionUnsigned transactions to write options from the wallet: post an ask at a premium (the collateral is locked now; it fills when a buyer takes it), or with order_id sell into that bid now and receive its premium less Borro's share. A call locks one share of the stock's Borro vault per share written: from the stock (lent into its vault in the same transaction, the default) or from vault shares held (bNVDA). A put locks the strike in USDG in the Steakhouse vault: from USDG (the default) or that vault's shares held. Exact approval of the lock, then the call; simulated from the wallet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Where the lock comes from: a call stock (default) or shares; a put usdg (default) or shares | |
| type | No | call or put | |
| expiry | No | this (the nearest Friday still taking orders, the default), next, or a Friday's date like 2026-10-16 | |
| shares | Yes | Shares to write (at least 0.001), in whole units as a decimal string, like "1.5" | |
| strike | No | The strike in dollars, on the $0.25 tick, 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 | |
| premium | No | Premium you ask, USDG a share (for an ask), in whole units as a decimal string, like "1.5" | |
| order_id | No | Sell into this bid instead of posting an ask (its series, its premium) |