count

Calls the "count" function on the contract.

Example

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

Parameters

The options for the count function.

Type

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.