uri

Calls the "uri" function on the contract.

Example

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

Parameters

The options for the uri function.

Type

Returns

let returnType: Promise<string>;

The parsed result of the function call.