0DNS API

Endpoints exposed by the node locator service, 0DNS.

Here listed all the endpoints exposed by the Node Locator service, which is used by the clients that need to communicate with the nodes of the chain (Miners/Sharders) to locate them retrieving their URLs and meta-information about the network. All endpoints should be prefixed by the url of the DNS service.

Get Network Nodes - GET /network

Retrieve main nodes of the network. No parameters needed.

Response

{
  "miners": [
    "https://dev2.zus.network/miner01",
    "https://dev3.zus.network/miner01",
    "https://dev1.zus.network/miner01"
  ],
  "sharders": [
    "https://dev2.zus.network/sharder01",
    "https://dev3.zus.network/sharder01",
    "https://dev1.zus.network/sharder01"
  ]
}

Get Latest Magic Block - GET /magic_block

Magic block is a special type of blocks that contains meta information about the network and its nodes. For more information about the magic block, refer to the Magic Block entity page. No parameters needed.

Response

Last updated