OpenSea · Schema

AssetIdentifierResponse

Asset identifier with chain, contract address, and optional token ID

NFTMarketplaceWeb3BlockchainTradingDigital Assets

Properties

Name Type Description
chain string The blockchain chain
contract string The contract address
token_id string Token ID for NFTs
View JSON Schema on GitHub

JSON Schema

AssetIdentifierResponse.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://opensea.io/schemas/AssetIdentifierResponse",
  "title": "AssetIdentifierResponse",
  "type": "object",
  "description": "Asset identifier with chain, contract address, and optional token ID",
  "properties": {
    "chain": {
      "type": "string",
      "description": "The blockchain chain",
      "example": "ethereum"
    },
    "contract": {
      "type": "string",
      "description": "The contract address",
      "example": "0xBd3531dA5CF5857e7CfAA92426877b022e612cf8"
    },
    "token_id": {
      "type": "string",
      "description": "Token ID for NFTs",
      "example": 1234
    }
  },
  "required": [
    "chain",
    "contract"
  ]
}