MetaplexBubblegumProgram.verifyLeaf constructor
MetaplexBubblegumProgram.verifyLeaf({
- required SolAddress merkleTree,
- required MetaplexBubblegumVerifyLeafLayout layout,
- SolAddress programId = MetaplexBubblegumProgramConst.compressionProgram,
- 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);
}