Docs

setIdRegistryEvent

Creates an event object for the SetIdRegistry event.

Example

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

Returns

The prepared event object.