idCounter

Calls the "idCounter" function on the contract.

Example

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

Parameters

The options for the idCounter function.

Type

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

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.