setIdGatewayEvent

Creates an event object for the SetIdGateway event.

Example

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

Returns

The prepared event object.