Type alias CreateStakeAccountParams

CreateStakeAccountParams: {
    authorized: Authorized;
    fromPubkey: PublicKey;
    lamports: number;
    lockup?: Lockup;
    stakePubkey: PublicKey;
}

Create stake account transaction params

Type declaration

  • authorized: Authorized

    Authorities of the new stake account

  • fromPubkey: PublicKey

    Address of the account which will fund creation

  • lamports: number

    Funding amount

  • Optional lockup?: Lockup

    Lockup of the new stake account

  • stakePubkey: PublicKey

    Address of the new stake account