transferBatchEvent

Creates an event object for the TransferBatch event.

Example

import { getContractEvents } from "thirdweb";
import { transferBatchEvent } from "thirdweb/extensions/erc1155";
const events = await getContractEvents({
contract,
events: [
transferBatchEvent({
_operator: ...,
_from: ...,
_to: ...,
})
],
});

Parameters

Returns

The prepared event object.