CreateAccountParams class

Create Account Params

Constructors

CreateAccountParams.new({required Pubkey fromPubkey, required Pubkey newAccountPubkey, required u64 lamports, required u64 space, required Pubkey programId})
Creates account system transaction params.
const

Properties

fromPubkey Pubkey
The account that will transfer lamports to the created account.
final
hashCode int
The hash code for this object.
no setterinherited
lamports u64
The amount of lamports to transfer to the created account.
final
newAccountPubkey Pubkey
The public key of the created account.
final
programId Pubkey
The public key of the program to assign as the owner of the created account.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
space u64
The amount of space in bytes to allocate to the created account.
final

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