The pool's public key.
The NFT's mint public key.
Optional
programId: PublicKeyThe program ID for the staking pool program. Default is PROGRAM_ID.
The generated Program Derived Address.
const poolPublicKey = new web3.PublicKey("..."); // Replace with actual pool public key
const mintPublicKey = new web3.PublicKey("..."); // Replace with actual NFT mint public key
const nftPda = getNftPda(poolPublicKey, mintPublicKey);
Generated using TypeDoc
Generates a Program Derived Address for an NFT (Non-Fungible Token) in a specific pool based on the pool's public key and the NFT's mint public key.