v1

latestOpenAPI 3.0.1Apache 2.02026-07-2686219209.3 KB
mmm
instructions

Get instruction to update an existing pool

get/instructions/mmm/update-pool

Query parameters

poolstring required

Public key of pool to modify

spotPricenumber required

Pool initial spot price in SOL

curveTypestring 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 (this value must remain unchanged from when the pool was created)

reinvestSellboolean required

Whether to reinvest payment from sale or transfer directly to owner (this value must remain unchanged from when the pool was created)

expirynumber required

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

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