Skip to content

Type Alias: CreateAccountSuccess

type CreateAccountSuccess = {
  address: Address;
  error?: undefined;
  owner: Address;
  salt: Hex;
  status:   | typeof Success
     | typeof AlreadyCreated;
};

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

Successful account creation (or creation previously successful).

Properties

address

address: Address;

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

The address of the account.


error?

optional error: undefined;

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


owner

owner: Address;

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

User EOA address


salt

salt: Hex;

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

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


status

status: 
  | typeof Success
  | typeof AlreadyCreated;

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