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