Cardano · Schema

Pool Relays

BlockchainCryptocurrencyProof-of-StakeSmart ContractsWeb3
View JSON Schema on GitHub

JSON Schema

pool-relays.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://cardano.blockfrost.io/schema/pool_relays",
  "title": "Pool Relays",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "ipv4": {
        "type": "string",
        "nullable": true,
        "example": "4.4.4.4",
        "description": "IPv4 address of the relay"
      },
      "ipv6": {
        "type": "string",
        "nullable": true,
        "example": "https://stakenuts.com/mainnet.json",
        "description": "IPv6 address of the relay"
      },
      "dns": {
        "type": "string",
        "nullable": true,
        "example": "relay1.stakenuts.com",
        "description": "DNS name of the relay"
      },
      "dns_srv": {
        "type": "string",
        "nullable": true,
        "example": "_relays._tcp.relays.stakenuts.com",
        "description": "DNS SRV entry of the relay"
      },
      "port": {
        "type": "integer",
        "example": 3001,
        "description": "Network port of the relay"
      }
    },
    "required": [
      "ipv4",
      "ipv6",
      "dns",
      "dns_srv",
      "port"
    ]
  }
}