Variable InternalEthErc4337AccountStructConst

InternalEthErc4337AccountStruct: Struct<{
    address: string;
    id: string;
    metadata: {
        importTime: number;
        keyring: {
            type: string;
        };
        lastSelected?: number;
        name: string;
        nameLastUpdatedAt?: number;
        snap?: {
            enabled: boolean;
            id: string;
            name: string;
        };
    };
    methods: ("personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation")[];
    options: Record<string, Json>;
    type: "eip155:erc4337";
}, {
    address: Struct<string, null>;
    id: Struct<string, null>;
    methods: Struct<("personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation")[], Struct<"personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation", {
        eth_patchUserOperation: "eth_patchUserOperation";
        eth_prepareUserOperation: "eth_prepareUserOperation";
        eth_sign: "eth_sign";
        eth_signTypedData_v1: "eth_signTypedData_v1";
        eth_signTypedData_v3: "eth_signTypedData_v3";
        eth_signTypedData_v4: "eth_signTypedData_v4";
        eth_signUserOperation: "eth_signUserOperation";
        personal_sign: "personal_sign";
    }>>;
    options: Struct<Record<string, Json>, null>;
    type: Struct<"eip155:erc4337", "eip155:erc4337">;
} & {
    metadata: Struct<{
        importTime: number;
        keyring: {
            type: string;
        };
        lastSelected?: number;
        name: string;
        nameLastUpdatedAt?: number;
        snap?: {
            enabled: boolean;
            id: string;
            name: string;
        };
    }, {
        importTime: Struct<number, null>;
        keyring: Struct<{
            type: string;
        }, {
            type: Struct<string, null>;
        }>;
        lastSelected: Struct<number | ExactOptionalTag, null>;
        name: Struct<string, null>;
        nameLastUpdatedAt: Struct<number | ExactOptionalTag, null>;
        snap: Struct<ExactOptionalTag | {
            enabled: boolean;
            id: string;
            name: string;
        }, {
            enabled: Struct<boolean, null>;
            id: Struct<string, null>;
            name: Struct<string, null>;
        }>;
    }>;
}> = ...

Type declaration

  • address: string

    Account address.

  • id: string

    Account ID (UUIDv4).

  • metadata: {
        importTime: number;
        keyring: {
            type: string;
        };
        lastSelected?: number;
        name: string;
        nameLastUpdatedAt?: number;
        snap?: {
            enabled: boolean;
            id: string;
            name: string;
        };
    }
    • importTime: number
    • keyring: {
          type: string;
      }
      • type: string
    • Optional lastSelected?: number
    • name: string
    • Optional nameLastUpdatedAt?: number
    • Optional snap?: {
          enabled: boolean;
          id: string;
          name: string;
      }
      • enabled: boolean
      • id: string
      • name: string
  • methods: ("personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation")[]

    Account supported methods.

  • options: Record<string, Json>

    Account options.

  • type: "eip155:erc4337"

    Account type.