@aptos-labs/ts-sdk - v7.3.1
    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
    legacy?: boolean
    privateKey: PrivateKeyInput