getIdGateway

Retrieves the IdGateway contract.

Example

import { getIdGatway } from "thirdweb/extensions/farcaster";
const idGateway = await getIdGateway({
client,
});
function getIdGateway(

Parameters

The thirdweb client and an optional custom chain.

Type

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

Returns

let returnType: Readonly<ContractOptions<abi>>;

The IdGateway contract instance.