tokensClaimedEvent
Creates an event object for the TokensClaimed event.
import { getContractEvents } from "thirdweb";import { tokensClaimedEvent } from "thirdweb/extensions/erc721"; const events = await getContractEvents({contract,events: [ tokensClaimedEvent({ claimConditionIndex: ..., claimer: ..., receiver: ...,})],});
function tokensClaimedEvent( filters: Partial<{ claimConditionIndex: bigint; claimer: string; receiver: string; }>, readonly inputs: readonly [ { readonly indexed: true; readonly name: "claimConditionIndex"; readonly type: "uint256"; }, { readonly indexed: true; readonly name: "claimer"; readonly type: "address"; }, { readonly indexed: true; readonly name: "receiver"; readonly type: "address"; }, { readonly name: "startTokenId"; readonly type: "uint256" }, { readonly name: "quantityClaimed"; readonly type: "uint256" }, ]; readonly name: "TokensClaimed"; readonly type: "event";}>;
readonly inputs: readonly [ { readonly indexed: true; readonly name: "claimConditionIndex"; readonly type: "uint256"; }, { readonly indexed: true; readonly name: "claimer"; readonly type: "address"; }, { readonly indexed: true; readonly name: "receiver"; readonly type: "address"; }, { readonly name: "startTokenId"; readonly type: "uint256" }, { readonly name: "quantityClaimed"; readonly type: "uint256" }, ]; readonly name: "TokensClaimed"; readonly type: "event";}>;
The prepared event object.