totalKeys

Calls the "totalKeys" function on the contract.

Example

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

Parameters

The options for the totalKeys function.

Type

let options: BaseTransactionOptions<TotalKeysParams>;

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.