setIdRegistryEvent
Creates an event object for the SetIdRegistry event.
import { getContractEvents } from "thirdweb";import { setIdRegistryEvent } from "thirdweb/extensions/farcaster"; const events = await getContractEvents({ contract, events: [setIdRegistryEvent()],});
readonly inputs: readonly [ { readonly name: "oldIdRegistry"; readonly type: "address" }, { readonly name: "newIdRegistry"; readonly type: "address" }, ]; readonly name: "SetIdRegistry"; readonly type: "event";}>;
readonly inputs: readonly [ { readonly name: "oldIdRegistry"; readonly type: "address" }, { readonly name: "newIdRegistry"; readonly type: "address" }, ]; readonly name: "SetIdRegistry"; readonly type: "event";}>;
The prepared event object.