packCreatedEvent
Creates an event object for the PackCreated event.
import { getContractEvents } from "thirdweb";import { packCreatedEvent } from "thirdweb/extensions/erc1155"; const events = await getContractEvents({contract,events: [ packCreatedEvent({ packId: ...,})],});
function packCreatedEvent(  filters: Partial<{ packId: bigint }>,  readonly inputs: readonly [    {      readonly indexed: true;      readonly name: "packId";      readonly type: "uint256";    },    { readonly name: "recipient"; readonly type: "address" },    { readonly name: "totalPacksCreated"; readonly type: "uint256" },  ];  readonly name: "PackCreated";  readonly type: "event";}>;
  readonly inputs: readonly [    {      readonly indexed: true;      readonly name: "packId";      readonly type: "uint256";    },    { readonly name: "recipient"; readonly type: "address" },    { readonly name: "totalPacksCreated"; readonly type: "uint256" },  ];  readonly name: "PackCreated";  readonly type: "event";}>;
The prepared event object.