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
Get a single NFT
const tokenId = 0; // the tokenId to look up
const { data: nft, isLoading, error } = useNFT(contract, tokenId);
a response object that includes the metadata for the given tokenId