findMetadataPda static method
Implementation
static ProgramDerivedAddress findMetadataPda({
/// The address of the mint account
required SolAddress mint,
}) {
return ProgramDerivedAddress.find(seedBytes: [
"metadata".codeUnits,
MetaplexTokenMetaDataProgramConst.programId.toBytes(),
mint.toBytes()
], programId: MetaplexTokenMetaDataProgramConst.programId);
}