setMaxKeysPerFidEvent

Creates an event object for the SetMaxKeysPerFid event.

Example

import { getContractEvents } from "thirdweb";
import { setMaxKeysPerFidEvent } from "thirdweb/extensions/farcaster";
const events = await getContractEvents({
contract,
events: [setMaxKeysPerFidEvent()],
});
function setMaxKeysPerFidEvent(): PreparedEvent<{
readonly inputs: readonly [
{ readonly name: "oldMax"; readonly type: "uint256" },
{ readonly name: "newMax"; readonly type: "uint256" },
];
readonly name: "SetMaxKeysPerFid";
readonly type: "event";
}>;

Returns

let returnType: PreparedEvent<{
readonly inputs: readonly [
{ readonly name: "oldMax"; readonly type: "uint256" },
{ readonly name: "newMax"; readonly type: "uint256" },
];
readonly name: "SetMaxKeysPerFid";
readonly type: "event";
}>;

The prepared event object.