payeeCount

Calls the "payeeCount" function on the contract.

Example

import { payeeCount } from "thirdweb/extensions/split";
const result = await payeeCount({
contract,
});
function payeeCount(options: BaseTransactionOptions): Promise<bigint>;

Parameters

The options for the payeeCount function.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.