getBundlerClient
getBundlerClient
is a method on EthersProviderAdapter
that gets the underlying viem client which has EIP-4337 capability.
Usage
example.ts
import { provider } from "./ethers-provider";
// get the provider's underlying viem client with EIP-4337 capabilities
const client = provider.getBundlerClient();
Returns
BundlerClient
The provider's underlying BundlerClient