adminResetEvent
Creates an event object for the AdminReset event.
import { getContractEvents } from "thirdweb";import { adminResetEvent } from "thirdweb/extensions/farcaster"; const events = await getContractEvents({contract,events: [ adminResetEvent({ fid: ..., key: ...,})],});
function adminResetEvent( filters: Partial<{ fid: bigint; key: `0x${string}` }>, readonly inputs: readonly [ { readonly indexed: true; readonly name: "fid"; readonly type: "uint256"; }, { readonly indexed: true; readonly name: "key"; readonly type: "bytes"; }, { readonly name: "keyBytes"; readonly type: "bytes" }, ]; readonly name: "AdminReset"; readonly type: "event";}>;
readonly inputs: readonly [ { readonly indexed: true; readonly name: "fid"; readonly type: "uint256"; }, { readonly indexed: true; readonly name: "key"; readonly type: "bytes"; }, { readonly name: "keyBytes"; readonly type: "bytes" }, ]; readonly name: "AdminReset"; readonly type: "event";}>;
The prepared event object.