Avalanche · Schema

TeleporterRewardDetails

BlockchainWeb3AvalancheNFTDeFiCross-Chain

Properties

Name Type Description
address string A wallet or contract address in mixed-case checksum encoding.
name string The contract name.
symbol string The contract symbol.
decimals number The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
logoUri string The logo uri for the address.
ercType string
price object The token price, if available.
value string
View JSON Schema on GitHub

JSON Schema

TeleporterRewardDetails.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalanche/main/json-schema/TeleporterRewardDetails.json",
  "title": "TeleporterRewardDetails",
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "A wallet or contract address in mixed-case checksum encoding.",
      "examples": [
        "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
      ]
    },
    "name": {
      "type": "string",
      "description": "The contract name.",
      "examples": [
        "Wrapped AVAX"
      ]
    },
    "symbol": {
      "type": "string",
      "description": "The contract symbol.",
      "examples": [
        "WAVAX"
      ]
    },
    "decimals": {
      "type": "number",
      "description": "The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.",
      "examples": [
        18
      ]
    },
    "logoUri": {
      "type": "string",
      "description": "The logo uri for the address.",
      "examples": [
        "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg"
      ]
    },
    "ercType": {
      "type": "string",
      "enum": [
        "ERC-20"
      ]
    },
    "price": {
      "description": "The token price, if available.",
      "allOf": [
        {
          "$ref": "#/components/schemas/Money"
        }
      ]
    },
    "value": {
      "type": "string"
    }
  },
  "required": [
    "address",
    "name",
    "symbol",
    "decimals",
    "ercType",
    "value"
  ]
}