ComputeBudgetProgram.requestUnits constructor
ComputeBudgetProgram.requestUnits({
- required ComputeBudgetRequestUnitsLayout layout,
Creates an instruction to request units.
Implementation
factory ComputeBudgetProgram.requestUnits({
required ComputeBudgetRequestUnitsLayout layout,
}) {
return ComputeBudgetProgram(
layout: layout,
keys: [],
programId: ComputeBudgetConst.programId,
);
}