# EntryPointFromAccountRegistry

> Infers the EntryPoint details as a type, given the account type and version.

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

```ts
type EntryPointFromAccountRegistry<TLightAccountType, TLightAccountVersion> =
  (typeof AccountVersionRegistry)[TLightAccountType][TLightAccountVersion] extends StaticSmartAccountImplementation<
    infer _7702,
    infer entryPointVersion,
    infer _factoryArgs,
    infer entryPointAbi
  >
    ? (typeof AccountVersionRegistry)[TLightAccountType][TLightAccountVersion]["entryPoint"] extends object
      ? (typeof AccountVersionRegistry)[TLightAccountType][TLightAccountVersion]["entryPoint"]
      : never
    : never;
```

Defined in: [packages/smart-accounts/src/light-account/registry.ts:98](https://github.com/alchemyplatform/aa-sdk/blob/v5.x.x/packages/smart-accounts/src/light-account/registry.ts#L98)

Infers the EntryPoint details as a type, given the account type and version.

## Type Parameters

<table>
  <thead>
    <tr>
      <th align="left">Type Parameter</th>
      <th align="left">Default type</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `TLightAccountType` *extends* [`LightAccountType`](LightAccountType)
      </td>

      <td>
        ‐
      </td>
    </tr>

    <tr>
      <td>
        `TLightAccountVersion` *extends* [`LightAccountVersion`](LightAccountVersion)\<`TLightAccountType`>
      </td>

      <td>
        [`LightAccountVersion`](LightAccountVersion)\<`TLightAccountType`>
      </td>
    </tr>

  </tbody>
</table>