Pack.get() method
Get a single Pack
Example
const pack = await contract.get(0);
console.log(packs;
Signature:
get(tokenId: BigNumberish): Promise<NFT>;
Parameters
Parameter | Type | Description |
---|---|---|
tokenId | BigNumberish |
Returns:
Promise<NFT>
Remarks
Get all the data associated with every pack in this contract.
By default, returns the first 100 packs, use queryParams to fetch more.