ixWrapperRemoveOffer instruction removes an existing order from the Exponent orderbook.
Usage
Required Parameters
Optional Parameters
Returns
Returns aTransactionInstruction that removes the specified order from the orderbook.
Removing an order automatically stages any accrued YT interest before returning tokens to your escrow. Collect staged interest separately via ixWrapperCollectInterest.
Finding the Offer Index
UsegetUserOpenOrders to get the list of open orders and their indices: