rentedUnits

Calls the "rentedUnits" function on the contract.

Example

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

Parameters

The options for the rentedUnits function.

Type

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

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.