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