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