findEditionAddress static method

ProgramAddress findEditionAddress(
  1. Pubkey mint
)

Find the master edition account address of the given mint.

Implementation

static ProgramAddress findEditionAddress(
  final Pubkey mint,
) => Pubkey.findProgramAddress(
  [
    utf8.encode(metadataSeed),
    programId.toBytes(),
    mint.toBytes(),
    utf8.encode(editionSeed),
  ],
  programId,
);