0

In this type CpmmKeys when fetching poolKeys from Raydium, what does the authority field represent.

It isn't the liquidity pool creator's public key and I'd love to know what it represents.

The field in question -> https://github.com/raydium-io/raydium-sdk-V2/blob/78d0e5c85b0f7f40b2db957976c6071763ca0ce8/src/api/type.ts#L322

On devnet, here is the authority for this pool DgXXHQNPy3nZbsNDNEVDiBHvA5EiYS2Jjki71LyMg5SZ I created, -> https://explorer.solana.com/address/7rQ1QFNosMkUCuh7Z7fPbTHvh73b68sQYdirycEzJVuw?cluster=devnet

1 Answer 1

1

In my opinion, the authority field in Raydium's CpmmKeys type represents the program-derived address (PDA) that acts as the manager of the liquidity pool, handling actions like deposits, withdrawals, and fee collection.

New contributor
pizzza1bit is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
1

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.