OpenBook Market Creation
const signatures = await agent.methods.openbookCreateMarket(
new PublicKey("base-token-mint"), // Base token
new PublicKey("quote-token-mint"), // Quote token
1, // Lot size
0.01 // Tick size
);Parameter
Type
Required
Default
Description
"Create a new USDC/SOL market on OpenBook"
"Setup trading pair for my token with 0.1 tick size"
"Create market with custom lot size of 100"
"Initialize OpenBook DEX market for token pair"Common Issues
Last updated