Cardano · Schema

Nutlink Tickers Ticker

BlockchainCryptocurrencyProof-of-StakeSmart ContractsWeb3
View JSON Schema on GitHub

JSON Schema

nutlink-tickers-ticker.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://cardano.blockfrost.io/schema/nutlink_tickers_ticker",
  "title": "Nutlink Tickers Ticker",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "address": {
        "type": "string",
        "description": "Address of a metadata oracle"
      },
      "tx_hash": {
        "type": "string",
        "description": "Hash of the transaction"
      },
      "block_height": {
        "type": "integer",
        "description": "Block height of the record"
      },
      "tx_index": {
        "type": "integer",
        "description": "Transaction index within the block"
      },
      "payload": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "object"
          },
          {
            "type": "array",
            "items": {}
          },
          {
            "type": "integer"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          }
        ],
        "additionalProperties": true,
        "description": "Content of the ticker"
      }
    },
    "required": [
      "address",
      "tx_hash",
      "block_height",
      "tx_index",
      "payload"
    ]
  },
  "example": [
    {
      "address": "addr_test1qpmtp5t0t5y6cqkaz7rfsyrx7mld77kpvksgkwm0p7en7qum7a589n30e80tclzrrnj8qr4qvzj6al0vpgtnmrkkksnqd8upj0",
      "tx_hash": "e8073fd5318ff43eca18a852527166aa8008bee9ee9e891f585612b7e4ba700b",
      "block_height": 2657092,
      "tx_index": 8,
      "payload": [
        {
          "source": "coinGecko",
          "value": "1.29"
        },
        {
          "source": "cryptoCompare",
          "value": "1.283"
        }
      ]
    }
  ]
}