const createBundlerClientFromExisting: <T>(client) => BundlerClient<T>;Defined in: aa-sdk/core/src/client/bundlerClient.ts:46
Creates a bundler client from an existing public client with the provided transport and chain.
import { createPublicClient } from "viem";
import { createBundlerClientFromExisting } from "@aa-sdk/core";
const publicClient = createPublicClient(...);
const bundlerClient = createBundlerClientFromExisting(publicClient);| Type Parameter | Default type |
|---|---|
|
|
| Parameter | Type | Description |
|---|---|---|
|
| The existing public client to be extended with bundler actions |
A bundler client that extends the functionality of the provided public client