Type Alias AllocateWithSeedParams

AllocateWithSeedParams: {
    accountPubkey: PublicKey;
    basePubkey: PublicKey;
    programId: PublicKey;
    seed: string;
    space: number;
}

Allocate account with seed system transaction params

Type declaration

  • accountPubkey: PublicKey

    Account to allocate

  • basePubkey: PublicKey

    Base public key to use to derive the address of the allocated account

  • programId: PublicKey

    Public key of the program to assign as the owner of the allocated account

  • seed: string

    Seed to use to derive the address of the allocated account

  • space: number

    Amount of space in bytes to allocate