Docs

getNFT

Retrieves information about a specific ERC1155 non-fungible token (NFT).

Example

import { getNFT } from "thirdweb/extensions/erc1155";
const nft = await getNFT({
contract,
tokenId: 1n,
});

Parameters

Returns

A promise that resolves to the NFT object.