getTokenCountOfBundle

Calls the "getTokenCountOfBundle" function on the contract.

Example

import { getTokenCountOfBundle } from "thirdweb/extensions/pack";
const result = await getTokenCountOfBundle({
contract,
bundleId: ...,
});
function getTokenCountOfBundle(
): Promise<bigint>;

Parameters

The options for the getTokenCountOfBundle function.

Type

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.