Avalanche · Schema

XChainAssetDetails

BlockchainWeb3AvalancheNFTDeFiCross-Chain

Properties

Name Type Description
assetId string Unique ID for an asset.
name string Name of this asset.
symbol string Symbol for this asset (max 4 characters).
denomination number Denomination of this asset to represent fungibility.
type object
createdAtTimestamp number Timestamp in seconds this asset was created on.
cap object
View JSON Schema on GitHub

JSON Schema

XChainAssetDetails.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalanche/main/json-schema/XChainAssetDetails.json",
  "title": "XChainAssetDetails",
  "type": "object",
  "properties": {
    "assetId": {
      "type": "string",
      "description": "Unique ID for an asset.",
      "examples": [
        "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof"
      ]
    },
    "name": {
      "type": "string",
      "description": "Name of this asset.",
      "examples": [
        "Avalanche"
      ]
    },
    "symbol": {
      "type": "string",
      "description": "Symbol for this asset (max 4 characters).",
      "examples": [
        "AVAX"
      ]
    },
    "denomination": {
      "type": "number",
      "description": "Denomination of this asset to represent fungibility.",
      "examples": [
        9
      ]
    },
    "type": {
      "examples": [
        "secp256k1"
      ],
      "$ref": "#/components/schemas/PrimaryNetworkAssetType"
    },
    "createdAtTimestamp": {
      "type": "number",
      "description": "Timestamp in seconds this asset was created on.",
      "examples": [
        1675444720
      ]
    },
    "cap": {
      "examples": [
        "fixed"
      ],
      "$ref": "#/components/schemas/PrimaryNetworkAssetCap"
    }
  },
  "required": [
    "assetId",
    "name",
    "symbol",
    "denomination",
    "type",
    "createdAtTimestamp",
    "cap"
  ]
}