MemoryClientOptions
MemoryClientOptions<
TCommon
,TAccountOrAddress
,TRpcSchema
>:TevmNodeOptions
<TCommon
> &Pick
<ClientConfig
<Transport
,TCommon
,TAccountOrAddress
,TRpcSchema
>,"type"
|"key"
|"name"
|"account"
|"pollingInterval"
|"cacheTime"
>
Configuration options for creating a MemoryClient.
This type extends TevmNodeOptions
and includes specific options for configuring the MemoryClient,
such as the transport type, account, polling interval, and caching behavior.
Example
See
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
.