MetaplexTokenMetaDataProgram.collect constructor
MetaplexTokenMetaDataProgram.collect({
- required SolAddress authority,
- required SolAddress recipient,
Implementation
factory MetaplexTokenMetaDataProgram.collect({
required SolAddress authority,
required SolAddress recipient,
}) {
return MetaplexTokenMetaDataProgram(
keys: [
authority.toSigner(),
recipient.toReadOnly(),
],
programId: MetaplexTokenMetaDataProgramConst.programId,
layout: const MetaplexTokenMetaDataCollectLayout());
}