Get Pools by Token Addresses
Fetch Launchpad Pools based on a single Token Address or a Liquidity Pair
Raydium Launchpad uses bonding curve pools to launch tokens, with each pool defined by a token pair (also known as liquidity pair). This pair is represented by the baseMint
(the launched token) and quoteMint
(the token used to buy it). We can apply filters to these fields to retrieve specific pool details involving a particular token pair.
For instance we are trying to get liquidity pools involving CHUCK token and SOL, so we filter baseMint
and quoteMint
fields using the _in filter.
You can directly copy paste this code on replit and see it in action.
Fetch Pool by Liquidity Pair (CHUCK-SOL)
We can also query liquidity pool involving a particular token address, for that we would have to filter the baseMint
or quoteMint
field using the _in filter.
Fetch Pools involving a Token
Last updated
Was this helpful?