Skip to content

getBundlerClient

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

Import

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

Usage

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

Parameters

config

AlchemyAccountsConfig The configuration object containing the core store.

Returns

ClientWithAlchemyMethods The BundlerClient from the core store.