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

    Class Account

    An account key pair (public and secret keys).

    since v1.10.0, please use Keypair instead.

    Index
    • Create a new Account object

      If the secretKey parameter is not provided a new key pair is randomly created for the account

      Parameters

      • OptionalsecretKey: number[] | Uint8Array<ArrayBufferLike>

        Secret key for the account

      Returns Account