Skip to contents

Checks if an artwork has been minted as an NFT on OpenSea. Use this to conditionally display NFT badges or enable marketplace features.

This is a lightweight check that only queries for existence of an OpenSea URL. For full NFT metadata, use getArtworkOpensea().

Usage

artHasNFT(artist, artwork, cn = NULL)

Arguments

artist

Artist UUID

artwork

Artwork UUID

cn

Database connection. If NULL, opens and closes automatically.

Value

TRUE if artwork has OpenSea listing, FALSE otherwise