getBundlerClient

Retrieves the BundlerClient from the core store of the given AlchemyAccountsConfig.

Import

1import { getBundlerClient } from "@account-kit/core";

Usage

1// see `createConfig` for more information on how to create a config
2import { config } from "./config";
3
4const bundlerClient = getBundlerClient(config);

Parameters

config

AlchemyAccountsConfig The configuration object containing the core store.

Returns

ClientWithAlchemyMethods The BundlerClient from the core store.