SPLTokenMetaDataProgram.emit constructor
SPLTokenMetaDataProgram.emit({
- required SPLTokenMetaDataEmitLayout layout,
- required SolAddress programId,
- required SolAddress metadata,
Emits the token-metadata as return data
Implementation
factory SPLTokenMetaDataProgram.emit({
required SPLTokenMetaDataEmitLayout layout,
required SolAddress programId,
/// Metadata account
required SolAddress metadata,
}) {
return SPLTokenMetaDataProgram(
layout: layout, keys: [metadata.toReadOnly()], programId: programId);
}