SPLTokenMetaDataProgram.fromBytes constructor
SPLTokenMetaDataProgram.fromBytes({
- required List<
AccountMeta> keys, - required List<
int> instructionBytes, - required SolAddress programId,
Implementation
factory SPLTokenMetaDataProgram.fromBytes({
required List<AccountMeta> keys,
required List<int> instructionBytes,
required SolAddress programId,
}) {
return SPLTokenMetaDataProgram(
layout: SPLTokenMetaDataProgramLayout.fromBytes(instructionBytes),
keys: keys,
programId: programId);
}