Creates an event object for the TokenURIRevealed event.
import { getContractEvents } from "thirdweb";import { tokenURIRevealedEvent } from "thirdweb/extensions/erc721"; const events = await getContractEvents({contract,events: [ tokenURIRevealedEvent({ index: ...,})],});
function tokenURIRevealedEvent( filters: Partial<{ index: bigint }>,): PreparedEvent<{ readonly inputs: readonly [ { readonly indexed: true; readonly name: "index"; readonly type: "uint256"; }, { readonly name: "revealedURI"; readonly type: "string" }, ]; readonly name: "TokenURIRevealed"; readonly type: "event";}>;
Optional filters to apply to the event.
let filters: Partial<{ index: bigint }>;
let returnType: PreparedEvent<{ readonly inputs: readonly [ { readonly indexed: true; readonly name: "index"; readonly type: "uint256"; }, { readonly name: "revealedURI"; readonly type: "string" }, ]; readonly name: "TokenURIRevealed"; readonly type: "event";}>;
The prepared event object.