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