Package references
viem-extension
The package that gives access to an Extension that allows integrating Viem to our client.
Functions
ViemExtension
method
A method that, when passed to the client instance, injects the following modules into it:
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. |
Types
IViemExtension
type
Type of the react native extension.
Was this page helpful?