getBundler

Retrieves the Bundler contract.

Example

import { getBundler } from "thirdweb/extensions/farcaster";
const bundler = await getBundler({
client,
});
function getBundler(

Parameters

The thirdweb client and an optional custom chain.

Type

let options: { chain?: Chain; client: ThirdwebClient };

Returns

let returnType: Readonly<ContractOptions<abi>>;

The Bundler contract instance.