findDeprecatedMasterEditionV1Pda static method

ProgramDerivedAddress findDeprecatedMasterEditionV1Pda({
  1. required SolAddress mint,
})

Implementation

static ProgramDerivedAddress findDeprecatedMasterEditionV1Pda(

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