Cancel an order on the DexMarket.
The Connection object to connect to Solana.
The PublicKey of the owner of the order.
The Market object from serum-ts package.
The Order object to cancel.
Create a Transaction object for creating the accounts required for a DexMarket.
The MarketAccounts object containing the accounts needed for initializing the market.
The Keypair object of the account that will pay for the transaction.
The Connection object to connect to Solana.
The address of the serum-dex program deployed.
Create a Transaction object for creating the vaults required for a DexMarket.
The Keypair of the account that will pay for the transaction.
The address assigned as the owner of the vault.
The Token Account that would be used as the base vault.
The Token Account that would be used as the quote vault.
The base Coin object provided by the Coin class.
The quote Coin object provided by the Coin class.
The Connection object to connect to Solana.
Create a Transaction object for cancelling an order.
The Connection object to connect to Solana.
The Keypair of the owner of the order.
The Market object from serum-ts package.
The Order object to cancel.
Get or create an OpenOrder account for the specified owner.
The Keypair for which OpenOrders account is required.
The Market object from serum-ts package.
The Connection object to connect to Solana.
Get all orders placed by a keypair.
The Keypair for which orders have to be fetched.
The Market object from serum-ts package.
The Connection object to connect to Solana.
Create a Transaction object for placing an order.
The Connection object to connect to Solana.
The Keypair of the owner of the order.
The Market object from serum-ts package.
The Side of the order.
The OrderType of the order.
The size of the order.
The price of the order.
The SelfTradeBehaviour action to follow for the order placed.
Load a DexMarket instance from a given market address.
The Connection object to connect to Solana.
The address of the serum-dex program deployed.
The address of the market to load.
The base Coin object provided by the Coin class.
The quote Coin object provided by the Coin class.
Place an order on the DexMarket.
The Connection object to connect to Solana.
The Keypair of the owner of the order.
The Market object from serum-ts package.
The Side of the order.
The OrderType of the order.
The size of the order.
The price of the order.
The SelfTradeBehaviour action to follow for the order placed.
Generated using TypeDoc
A wrapper class around
serum-ts'sMarketclass.