@solana/web3.js
    Preparing search index...

    Type Alias CreateAccountParams

    Create account system transaction params

    type CreateAccountParams = {
        fromPubkey: PublicKey;
        lamports: number;
        newAccountPubkey: PublicKey;
        programId: PublicKey;
        space: number;
    }
    Index
    fromPubkey: PublicKey

    The account that will transfer lamports to the created account

    lamports: number

    Amount of lamports to transfer to the created account

    newAccountPubkey: PublicKey

    Public key of the created account

    programId: PublicKey

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

    space: number

    Amount of space in bytes to allocate to the created account