tevmViemActions
tevmViemActions(): (
client
) =>TevmViemActionsApi
A viem extension that adds TEVM actions to a viem client.
The viem client must already have TEVM support via createTevmClient
or createTevmTransport
.
This extension provides a comprehensive set of actions to interact with the TEVM, including calls, contract interactions, deployments, mining, and more.
Note: If you are building a frontend application, you should use the tree-shakable API instead to optimize bundle size.
Returns
Function
The viem extension to add TevmViemActionsApi
Parameters
• client: Client
<TevmTransport
<string
>, undefined
| Chain
, undefined
| Account
, undefined
, undefined
| object
>