setKeyGatewayEvent

Creates an event object for the SetKeyGateway event.

Example

import { getContractEvents } from "thirdweb";
import { setKeyGatewayEvent } from "thirdweb/extensions/farcaster";
const events = await getContractEvents({
contract,
events: [setKeyGatewayEvent()],
});

Returns

The prepared event object.