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: PrivateKey;
}

Properties

legacy?: boolean
privateKey: PrivateKey