Skip to main content

createMarketOfferInstruction

Builds a raw instruction to execute a market order that fills against existing limit orders on the order book, allowing users to instantly buy or sell YT tokens at the best available prices.

Usage

Accounts

Args

Returns

TransactionInstruction — a transaction instruction ready to be added to a transaction.