uri

Calls the "uri" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.