getKeyGateway

Retrieves the KeyGateway contract.

Example

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

Parameters

The thirdweb client and an optional custom chain.

Type

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

Returns

let returnType: Readonly<ContractOptions<abi>>;

The KeyGateway contract instance.