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