Skip to main content

nft

Look up a specific NFT by its contract address and token ID. Returns null if the NFT doesn't exist or hasn't been minted.

Schema Definition

nft(
contract: AddressString!
tokenId: TokenId!
): NFT

Arguments

ArgumentTypeDescription
contract
AddressString! non-null scalar
The NFT contract address (0x-prefixed, 42 characters).
tokenId
TokenId! non-null scalar
The token ID within the contract (as a string to support uint256 values).

Return Type

TypeDescription
NFT interface
Base interface for non-fungible tokens (NFTs). Implemented by SingleHolderNFT (ERC-721) and MultiHolderNFT (ERC-1155). Contains fields common to all NFT types regardless of ownership model.