setIdCounterEvent
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()],});
readonly inputs: readonly [ { readonly name: "oldCounter"; readonly type: "uint256" }, { readonly name: "newCounter"; readonly type: "uint256" }, ]; readonly name: "SetIdCounter"; readonly type: "event";}>;
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.