Avalanche · Schema

Erc1155Contract

BlockchainWeb3AvalancheNFTDeFiCross-Chain

Properties

Name Type Description
name string The contract name.
description string
officialSite string
email string
logoAsset object
bannerAsset object
color string
resourceLinks array
tags array
address string A wallet or contract address in mixed-case checksum encoding.
deploymentDetails object
ercType string
symbol string The contract symbol.
pricingProviders object
View JSON Schema on GitHub

JSON Schema

Erc1155Contract.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalanche/main/json-schema/Erc1155Contract.json",
  "title": "Erc1155Contract",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The contract name.",
      "examples": [
        "Wrapped AVAX"
      ]
    },
    "description": {
      "type": "string"
    },
    "officialSite": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "logoAsset": {
      "$ref": "#/components/schemas/ImageAsset"
    },
    "bannerAsset": {
      "$ref": "#/components/schemas/ImageAsset"
    },
    "color": {
      "type": "string"
    },
    "resourceLinks": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ResourceLink"
      }
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "address": {
      "type": "string",
      "description": "A wallet or contract address in mixed-case checksum encoding.",
      "examples": [
        "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
      ]
    },
    "deploymentDetails": {
      "$ref": "#/components/schemas/ContractDeploymentDetails"
    },
    "ercType": {
      "type": "string",
      "enum": [
        "ERC-1155"
      ]
    },
    "symbol": {
      "type": "string",
      "description": "The contract symbol.",
      "examples": [
        "WAVAX"
      ]
    },
    "pricingProviders": {
      "$ref": "#/components/schemas/PricingProviders"
    }
  },
  "required": [
    "address",
    "ercType"
  ]
}