MetaplexBubblegumProgram.verifyLeaf constructor

MetaplexBubblegumProgram.verifyLeaf({
  1. required SolAddress merkleTree,
  2. required MetaplexBubblegumVerifyLeafLayout layout,
  3. SolAddress programId = MetaplexBubblegumProgramConst.compressionProgram,
  4. List<AccountMeta> anchorRemainingAccounts = const [],
})

Implementation

factory MetaplexBubblegumProgram.verifyLeaf({
  required SolAddress merkleTree,
  required MetaplexBubblegumVerifyLeafLayout layout,
  SolAddress programId = MetaplexBubblegumProgramConst.compressionProgram,
  List<AccountMeta> anchorRemainingAccounts = const [],
}) {
  return MetaplexBubblegumProgram(
      keys: [merkleTree.toReadOnly(), ...anchorRemainingAccounts],
      programId: programId,
      layout: layout);
}