tokenURI

Calls the "tokenURI" function on the contract.

Example

import { tokenURI } from "thirdweb/extensions/erc721";
const result = await tokenURI({
contract,
tokenId: ...,
});

Parameters

Returns

The parsed result of the function call.