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
| Argument | Type | Description |
|---|---|---|
contract | The NFT contract address (0x-prefixed, 42 characters). | |
tokenId | The token ID within the contract (as a string to support uint256 values). |
Return Type
| Type | Description |
|---|---|
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. |