Functions
ViemExtension
method
viem
module
Provides methods to create viem clients.
The reference types below are simplified for the sake of readability. See the
type specification for details.
Property | Type | Description |
---|---|---|
createPublicClient | (params: { chain: Chain }) => PublicClient | Creates a public viem client to interact with the given chain. |
createWalletClient | (params: { wallet: BaseWallet, chain?: Chain }) => WalletClient | Creates a wallet viem client to interact with the given wallet address. |