registerEvent

Creates an event object for the Register event.

Example

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

Parameters

Returns

The prepared event object.