Secp256k1Program class
Represents an instruction for the Secp256k1 program.
- Inheritance
-
- Object
- TransactionInstruction
- Secp256k1Program
Constructors
- Secp256k1Program({required Secp256k1Layout layout})
-
Constructs a Secp256k1Program instruction from a layout.
factory
-
Secp256k1Program.fromBytes({required List<
AccountMeta> keys, required List<int> instructionBytes, SolAddress programId = Secp256k1ProgramConst.programId}) -
factory
Properties
-
data
↔ List<
int> -
Program input.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keys
→ List<
AccountMeta> -
Public keys to include in this transaction
Boolean represents whether this pubkey needs to sign the transaction
finalinherited
- programId → SolAddress
-
Program Id to execute.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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 ==(
Object other) → bool -
The equality operator.
inherited