setValidatorEvent

Creates an event object for the SetValidator event.

Example

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

Returns

The prepared event object.