getTokenId

Calls the "getTokenId" function on the contract.

Example

import { getTokenId } from "thirdweb/extensions/lens";
const result = await getTokenId({
contract,
localName: ...,
});
function getTokenId(
): Promise<bigint>;

Parameters

The options for the getTokenId function.

Type

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.