mmm
instructions
Get instruction to create a pool
get/instructions/mmm/create-pool
Query parameters
spotPricenumber required
Pool initial spot price in SOL
curveType'linear' | 'exp' | 'xyk' required
Type curve, either 'linear' or 'exp'
curveDeltanumber required
Curve delta used to change price after a fill
reinvestBuyboolean required
Whether to reinvest bought asset or transfer directly to owner
reinvestSellboolean required
Whether to reinvest payment from sale or transfer directly to owner
expirynumber
Timestamp in seconds in the future, 0 means no expiry
lpFeeBpnumber required
Requested liquidity provider fee in basis points
buysideCreatorRoyaltyBpnumber required
Amount of creator royalty the pool should pay in basis points
paymentMintstring required
Mint address of payment (default for SOL)
collectionSymbolstring required
Collection symbol for which the pool will be valid
ownerstring required
Owner of the pool
solDepositnumber
Optional sol amount to deposit with pool creation
priorityFeenumber
Priority fee (in microlamports) to reprioritize the transaction against others
sharedEscrowCountnumber
Number of pools (bids) that will share the escrow account
Response
successful operation