ComputeBudgetInstruction class

Inheritance

Constructors

ComputeBudgetInstruction({required ByteArray data})
ComputeBudgetInstruction.requestHeapFrame({required int bytes})
factory
ComputeBudgetInstruction.setComputeUnitLimit({required int units})
factory
ComputeBudgetInstruction.setComputeUnitPrice({required int microLamports})
factory
ComputeBudgetInstruction.setLoadedAccountsDataSizeLimit({required int bytes})
factory

Properties

accounts List<AccountMeta>
finalinherited
data ByteArray
finalinherited
hashCode int
The hash code for this object.
no setterinherited
programId Ed25519HDPublicKey
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compile(Map<Ed25519HDPublicKey, int> accountIndexesMap) CompiledInstruction
Compiles instruction according to the instruction format.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator.
inherited