MetaplexTokenMetaDataProgram.signMetadata constructor

MetaplexTokenMetaDataProgram.signMetadata({
  1. required SolAddress metadata,
  2. required SolAddress creator,
})

Implementation

factory MetaplexTokenMetaDataProgram.signMetadata({
  required SolAddress metadata,
  required SolAddress creator,
}) {
  return MetaplexTokenMetaDataProgram(
      keys: [metadata.toWritable(), creator.toSigner()],
      programId: MetaplexTokenMetaDataProgramConst.programId,
      layout: const MetaplexTokenMetaDataSignMetadataLayout());
}