getIdRegistry

Retrieves the IdRegistry contract.

Example

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

Parameters

The thirdweb client and an optional custom chain.

Type

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

Returns

let returnType: Readonly;

The IdRegistry contract instance.