SystemProgram class

Inheritance

Constructors

SystemProgram.new({required List<AccountMeta> keys, required SolAddress programId, required ProgramLayout layout})
SystemProgram.allocate({required SolAddress accountPubkey, required SystemAllocateLayout layout})
Allocate account system transaction
factory
SystemProgram.allocateWithcSeed({required SolAddress accountPubkey, required SystemAllocateWithSeedLayout layout})
Allocate account with seed system transaction
factory
SystemProgram.assign({required SolAddress account, required SystemAssignLayout layout})
Assign system transaction
factory
SystemProgram.assignWithSeed({required SolAddress account, required SystemAssignWithSeedLayout layout})
Assign account with seed system transaction
factory
SystemProgram.createAccount({required SolAddress from, required SolAddress newAccountPubKey, required SystemCreateLayout layout})
Create account system transaction
factory
SystemProgram.createAccountWithSeed({required SolAddress from, required SolAddress newAccount, required SolAddress baseAccount, required SystemCreateWithSeedLayout layout})
Create account with seed system transaction
factory
SystemProgram.fromBytes({required List<AccountMeta> keys, required List<int> instructionBytes, SolAddress programId = SystemProgramConst.programId})
factory
SystemProgram.nonceAdvance({required SolAddress authorizedPubkey, required SolAddress noncePubKey})
Advance nonce account system
factory
SystemProgram.nonceAuthorize({required SolAddress authorizedPubkey, required SolAddress noncePubKey, required SystemAuthorizeNonceAccountLayout layout})
Authorize nonce account system transaction
factory
SystemProgram.nonceInitialize({required SolAddress noncePubKey, required SystemInitializeNonceAccountLayout layout})
Initialize nonce account system
factory
SystemProgram.nonceWithdraw({required SolAddress authorizedPubkey, required SolAddress noncePubKey, required SolAddress toPubKey, required SystemWithdrawNonceLayout layout})
Withdraw nonce account system transaction
factory
SystemProgram.transfer({required SystemTransferLayout layout, required SolAddress from, required SolAddress to})
Transfer system transaction
factory
SystemProgram.transferWithSeed({required SolAddress from, required SolAddress to, required SolAddress baseAccount, required SystemTransferWithSeedLayout layout})
Transfer with seed system transaction
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