DOCS

useNFT

Get a single NFT

Example

const tokenId = 0; // the tokenId to look up
const { data: nft, isLoading, error } = useNFT(contract, tokenId);

Parameters

Returns

a response object that includes the metadata for the given tokenId