Program class abstract
Program
Constructors
- Program.new(Pubkey pubkey)
-
Solana program.
const
Properties
Methods
-
checkDeployed(
Connection connection) → Future< void> - Check that the program has been deployed to the cluster and is an executable program.
-
createTransactionIntruction(
Enum instruction, {required List< AccountMeta> keys, List<Iterable< data = const []}) → TransactionInstructionint> > -
Creates a TransactionInstruction for the program
instruction
. -
encodeInstruction<
T extends Enum> (T instruction) → Iterable< int> -
Encodes the program
instruction
. -
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