CreateAccountWithSeedParams class

Create Account With Seed Params

Constructors

CreateAccountWithSeedParams({required Pubkey fromPubkey, required Pubkey newAccountPubkey, required Pubkey basePubkey, required String seed, required u64 lamports, required u64 space, required Pubkey programId})
Create account with seed system transaction params.
const

Properties

basePubkey → Pubkey
The base public key used to derive the address of the created account. Must be the same as the base key used to create newAccountPubkey.
final
fromPubkey → Pubkey
The account that will transfer lamports to the created account.
final
hashCode → int
The hash code for this object.
no setterinherited
lamports → int
The amount of lamports to transfer to the created account.
final
newAccountPubkey → Pubkey
The public key of the created account. Must be pre-calculated with Pubkey.createWithSeed().
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
seed → String
The seed used to derive the address of the created account. Must be the same as the seed used to create newAccountPubkey.
final
space → int
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