Creates an event object for the SetIdGateway event.
import { getContractEvents } from "thirdweb";import { setIdGatewayEvent } from "thirdweb/extensions/farcaster"; const events = await getContractEvents({ contract, events: [setIdGatewayEvent()],});
function setIdGatewayEvent(): PreparedEvent<{ readonly inputs: readonly [ { readonly name: "oldIdGateway"; readonly type: "address" }, { readonly name: "newIdGateway"; readonly type: "address" }, ]; readonly name: "SetIdGateway"; readonly type: "event";}>;
let returnType: PreparedEvent<{ readonly inputs: readonly [ { readonly name: "oldIdGateway"; readonly type: "address" }, { readonly name: "newIdGateway"; readonly type: "address" }, ]; readonly name: "SetIdGateway"; readonly type: "event";}>;
The prepared event object.