Skip to main content
Version: 1.15.0

Function: deriveTokenPoolSignerPda()

deriveTokenPoolSignerPda(poolProgram: PublicKey, mint: PublicKey): PublicKey

Defined in: cct/solana/programs/token-pool.ts:132

Derives a token pool signer PDA for a mint.

Parameters​

ParameterType
poolProgramPublicKey
mintPublicKey

Returns​

PublicKey

Example​

TypeScript
const poolProgram = resolveTokenPoolProgram('burn-mint')
const poolSigner = deriveTokenPoolSignerPda(poolProgram, new PublicKey(tokenAddress))