tokensClaimedEvent

Creates an event object for the TokensClaimed event.

Example

import { getContractEvents } from "thirdweb";
import { tokensClaimedEvent } from "thirdweb/extensions/erc1155";
const events = await getContractEvents({
contract,
events: [
tokensClaimedEvent({
claimConditionIndex: ...,
claimer: ...,
receiver: ...,
})
],
});

Parameters

Returns

The prepared event object.