The type of the asset for the option.
The series ID of the option to buy.
The amount of the option to buy.
The maximum amount to pay for the buy operation.
Flag indicating if sell ix should be sent separately to isolate compute units.
A promise that resolves to the transaction signature of the buy operation.
Generated using TypeDoc
Buys a specified amount of options by a specific series ID. The trading account must be initialized before this operation.
Throws
Throws an error if the trading account is not initialized.