keyDataOf

Calls the "keyDataOf" function on the contract.

Example

import { keyDataOf } from "thirdweb/extensions/farcaster";
const result = await keyDataOf({
contract,
fid: ...,
key: ...,
});
function keyDataOf(
options: BaseTransactionOptions<KeyDataOfParams>,
): Promise<string>;

Parameters

The options for the keyDataOf function.

Type

let options: BaseTransactionOptions<KeyDataOfParams>;

Returns

let returnType: Promise<string>;

The parsed result of the function call.