setKeyGatewayEvent
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()],});
readonly inputs: readonly [ { readonly name: "oldKeyGateway"; readonly type: "address" }, { readonly name: "newKeyGateway"; readonly type: "address" }, ]; readonly name: "SetKeyGateway"; readonly type: "event";}>;
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.