Solana - Introducing the AMM Pool API
We are excited to announce the introduction of new endpoints that enable API users to interact with our Automated Market Maker (AMM), also known as MMM, pools. These endpoints provide a seamless way for users to engage with the liquidity pools and perform various actions.
Please refer to our API documentation to learn more! Also make sure to check out this explanation of Pool Pricing!
The endpoints will be accessible to anyone with an API key!
New Endpoints:
-
/v2/mmm/pools
- GET: Get AMM pools corresponding to an owner or collection symbol. -
/v2/mmm/token/{mint_address}/pools
- Get best offers for an NFT. -
/v2/instructions/mmm/create-pool
- GET: Get instruction to create a pool. -
/v2/instructions/mmm/sol-withdraw-buy
- GET: Get instruction to withdraw SOL payment from a pool. -
/v2/instructions/mmm/sol-fulfill-buy
- GET: Get instruction to have a pool fulfill a buy. -
/v2/instructions/mmm/sol-fulfill-sell
- GET: Get instruction to have a pool fulfill a sell