@aptos-labs/ts-sdk - v5.1.4
    Preparing search index...

    Interface CreateAccountFromPrivateKeyArgs

    Arguments for creating an Account from a private key when the key type is unknown at compile time.

    The private key used to create the account.

    Optional address for the account.

    Optional flag indicating if the account is a legacy account.

    interface CreateAccountFromPrivateKeyArgs {
        address?: AccountAddressInput;
        legacy?: boolean;
        privateKey: PrivateKeyInput;
    }
    Index

    Properties

    legacy?: boolean
    privateKey: PrivateKeyInput