Skip to content

CreateMemoryClientFn

CreateMemoryClientFn: <TCommon, TAccountOrAddress, TRpcSchema>(options?) => MemoryClient<TCommon, TAccountOrAddress>

Type Parameters

TCommon extends Common & Chain = Common & Chain

The common chain configuration, extending both Common and Chain.

TAccountOrAddress extends Account | Address | undefined = undefined

The account or address type for the client.

TRpcSchema extends RpcSchema | undefined = TevmRpcSchema

The RPC schema type, defaults to TevmRpcSchema.

Parameters

options?: MemoryClientOptions<TCommon, TAccountOrAddress, TRpcSchema>

The options to configure the MemoryClient.

Returns

MemoryClient<TCommon, TAccountOrAddress>

  • A configured MemoryClient instance.

Defined in

packages/memory-client/src/CreateMemoryClientFn.ts:36