getBundlerClient

1function getBundlerClient(config): ClientWithAlchemyMethods;

Defined in: account-kit/core/src/actions/getBundlerClient.ts:18

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

Example

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

Parameters

ParameterTypeDescription

config

AlchemyAccountsConfig

The configuration object containing the core store.

Returns

ClientWithAlchemyMethods

The BundlerClient from the core store.