1

I created a CPMM liquidity pool using the @raydium-io/raydium-sdk-v2 and a JS script but forgot to print out the poolId,

How can I fetch this from the explorer.

1 Answer 1

1

On explorers that have named accounts used in a transaction, for example, on the Solana explorer, the pool address will be the poolState account.

You will find this in the initialize instruction because you are creating a pool.

Using this tx as an example -> https://explorer.solana.com/tx/zzHTm126wfKDLSb7ALWEW4EwW2oKRiA3BrBJfEECWA4Jjsb9VVZV5sAKq5QSgTjUfUgRuqDRUjc6255CiVPCdjT?cluster=devnet

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.