• Beta

    Get a single NFT

    Type Parameters

    Parameters

    Returns UseQueryResult<NFT, unknown>

    a response object that includes the metadata for the given tokenId

    Example

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

    Twfeature

    ERC721 | ERC1155

    See

    Documentation

Generated using TypeDoc