Docs

tokensMintedWithSignatureEvent

Creates an event object for the TokensMintedWithSignature event.

Example

import { getContractEvents } from "thirdweb";
import { tokensMintedWithSignatureEvent } from "thirdweb/extensions/erc20";
const events = await getContractEvents({
contract,
events: [
tokensMintedWithSignatureEvent({
signer: ...,
mintedTo: ...,
})
],
});

Parameters

Returns

The prepared event object.