Interface CreateSingleKeyAccountFromPrivateKeyArgs

Arguments for creating a SingleKeyAccount from a supported private key, excluding Ed25519PrivateKey. The legacy argument is always false and cannot be set to true.

The private key used to create the account.

Optional address input for the account.

Always false; cannot be explicitly set to true.

interface CreateSingleKeyAccountFromPrivateKeyArgs {
    address?: AccountAddressInput;
    legacy?: false;
    privateKey: PrivateKey;
}

Properties

legacy
privateKey: PrivateKey