getIdRegistry

Retrieves the IdRegistry contract.

Example

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

Parameters

The thirdweb client and an optional custom chain.

Type

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

Returns

let returnType: Readonly<ContractOptions<abi>>;

The IdRegistry contract instance.