findMasterEditionPda static method

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

Implementation

static ProgramDerivedAddress findMasterEditionPda(
    {
    /// 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);
}