@aptos-labs/ts-sdk - v3.1.1
    Preparing search index...

    Interface CreateEd25519AccountFromPrivateKeyArgs

    Arguments for creating an Ed25519Account from an Ed25519PrivateKey. To use the SingleKey authentication scheme, set legacy to false.

    The private key used to create the account.

    Optional address for the account.

    Indicates whether to use legacy authentication (default is true).

    interface CreateEd25519AccountFromPrivateKeyArgs {
        address?: AccountAddressInput;
        legacy?: true;
        privateKey: Ed25519PrivateKey;
    }
    Index

    Properties

    legacy?: true
    privateKey: Ed25519PrivateKey