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:65

Failed account creation.

Properties

address?

optional address: undefined;

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


error

error: string;

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

Description of the problem.


owner

owner: Address;

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

User EOA address


salt

salt: Hex;

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

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:66