MetaplexTokenMetaDataProgram.unverifyCollection constructor
MetaplexTokenMetaDataProgram.unverifyCollection({
- required SolAddress metadata,
- required SolAddress collectionAuthority,
- required SolAddress collectionMint,
- required SolAddress collection,
- required SolAddress collectionMasterEditionAccount,
- SolAddress? collectionAuthorityRecord,
Implementation
factory MetaplexTokenMetaDataProgram.unverifyCollection({
required SolAddress metadata,
required SolAddress collectionAuthority,
required SolAddress collectionMint,
required SolAddress collection,
required SolAddress collectionMasterEditionAccount,
SolAddress? collectionAuthorityRecord,
}) {
return MetaplexTokenMetaDataProgram(
keys: [
metadata.toWritable(),
collectionAuthority.toSignerAndWritable(),
collectionMint.toReadOnly(),
collection.toReadOnly(),
collectionMasterEditionAccount.toReadOnly(),
if (collectionAuthorityRecord != null)
collectionAuthorityRecord.toReadOnly()
],
programId: MetaplexTokenMetaDataProgramConst.programId,
layout: const MetaplexTokenMetaDataUnverifyCollectionLayout());
}