freezeKeyGatewayEvent

Creates an event object for the FreezeKeyGateway event.

Example

import { getContractEvents } from "thirdweb";
import { freezeKeyGatewayEvent } from "thirdweb/extensions/farcaster";
const events = await getContractEvents({
contract,
events: [freezeKeyGatewayEvent()],
});
function freezeKeyGatewayEvent(): PreparedEvent<{
readonly inputs: readonly [
{ readonly name: "keyGateway"; readonly type: "address" },
];
readonly name: "FreezeKeyGateway";
readonly type: "event";
}>;

Returns

let returnType: PreparedEvent<{
readonly inputs: readonly [
{ readonly name: "keyGateway"; readonly type: "address" },
];
readonly name: "FreezeKeyGateway";
readonly type: "event";
}>;

The prepared event object.