The mint's public key.
Optional
type: MetadataPDaTypeOptional MetadataPDaType parameter specifying the type of metadata account.
Optional
programId: PublicKeyThe program ID for the metadata program. Default is METADATA_PROGRAM_ID.
The generated Program Derived Address.
const mintPublicKey = new web3.PublicKey("..."); // Replace with actual mint public key
const metadataPda = getMetadataAccount_(mintPublicKey);
Generated using TypeDoc
Generates a Program Derived Address for the metadata account associated with a specific mint and type.