tokenDataOf

Calls the "tokenDataOf" function on the contract.

Example

import { tokenDataOf } from "thirdweb/extensions/lens";
const result = await tokenDataOf({
contract,
tokenId: ...,
});
function tokenDataOf(
): Promise<{ mintTimestamp: bigint; owner: string }>;

Parameters

The options for the tokenDataOf function.

Type

Returns

let returnType: Promise<{ mintTimestamp: bigint; owner: string }>;

The parsed result of the function call.