Skip to content

Type Alias: CreateAccountError

type CreateAccountError = {
  address?: undefined;
  error: string;
  owner: Address;
  salt: Hex;
  status: Exclude<CreateAccountStatus, 
     | typeof Success
    | typeof AlreadyCreated>;
};

Defined in: apps/submitter/lib/handlers/createAccount/types.ts:63

Failed account creation.

Properties

address?

optional address: undefined;

Defined in: apps/submitter/lib/handlers/createAccount/types.ts:71


error

error: string;

Defined in: apps/submitter/lib/handlers/createAccount/types.ts:70

Description of the problem.


owner

owner: Address;

Defined in: apps/submitter/lib/handlers/createAccount/types.ts:66

User EOA address


salt

salt: Hex;

Defined in: apps/submitter/lib/handlers/createAccount/types.ts:68

Salt for the account creation — no greater than 32 bytes.


status

status: Exclude<CreateAccountStatus, 
  | typeof Success
| typeof AlreadyCreated>;

Defined in: apps/submitter/lib/handlers/createAccount/types.ts:64