getEntryPoint
Retrieves the entry point definition for the specified chain and version, falling back to the default version if not provided. Throws an error if the entry point address cannot be found.
Example
Param
The chain for which the entry point is being retrieved
Param
Options containing the version and address overrides for the entry point
Call Signature
Defined in: aa-sdk/core/src/entrypoint/index.ts:40
Type Parameters
Parameters
Returns
EntryPointDefRegistry<TChain>[TEntryPointVersion]
Call Signature
Defined in: aa-sdk/core/src/entrypoint/index.ts:48
Type Parameters
Parameters
Returns
EntryPointDefRegistry<TChain>[TEntryPointVersion]
Call Signature
Defined in: aa-sdk/core/src/entrypoint/index.ts:57
Type Parameters
Parameters
Returns
OneOf<"0.6.0", keyof EntryPointRegistryBase<unknown>>