keysOf

Calls the "keysOf" function on the contract.

Example

import { keysOf } from "thirdweb/extensions/farcaster";
const result = await keysOf({
contract,
fid: ...,
state: ...,
});
function keysOf(options: BaseTransactionOptions<KeysOfParams>) : Promise<readonly Array<`0x${string}`>>

Parameters

The options for the keysOf function.

Type

let options: BaseTransactionOptions<KeysOfParams>;

Returns

let returnType: Promise<readonly Array<`0x${string}`>>

The parsed result of the function call.