Get Pool by Creator Address
Fetch and query a Pumpswap AMM pool info based on creator address.
Pump AMM's architecture allows for the retrieval of liquidity pool details not only by pool address, but also by the creator of the pool. Here, we filter by the creator
field to fetch pool details.
You can directly copy paste this code on replit and see it in action.
Fetch parsed Pump swap pool info
The response contains base_mint
and quote_mint
which is the liquidity pool pair. Please note that more fields such as pool_base_token_account
, pool_quote_token_account
, lp_supply
can also be cherrypicked, or omitted as per your requirement.
Last updated
Was this helpful?