ComputeBudgetProgram.requestHeapFrame constructor

ComputeBudgetProgram.requestHeapFrame({
  1. required ComputeBudgetRequestHeapFrameLayout layout,
})

Creates an instruction to request heap frame.

Implementation

factory ComputeBudgetProgram.requestHeapFrame({
  required ComputeBudgetRequestHeapFrameLayout layout,
}) {
  return ComputeBudgetProgram(
    layout: layout,
    keys: [],
    programId: ComputeBudgetConst.programId,
  );
}