setIdCounterEvent

Creates an event object for the SetIdCounter event.

Example

import { getContractEvents } from "thirdweb";
import { setIdCounterEvent } from "thirdweb/extensions/farcaster";
const events = await getContractEvents({
contract,
events: [setIdCounterEvent()],
});

Returns

The prepared event object.