HTTP APIs
APIs provided by Züs Network nodes
Züs offer public APIs that helps users to interact with the data on-chain. This should help the users who are interested to build apps or tools on top of Züs network.
We offer the following APIs:
Miner Node API
Base URL
Since this API is provided by the miners, the base URL is the URL of any active miner. Check available miners on mainnet in https://mainnet.zus.network.
Overview
Includes the endpoints that are provided by the miner nodes. Those endpoints provide information about the miners and the chain status. It also provides the Put Transaction endpoint used to submit transaction to the smartcontracts.
Reference
Check the reference for this API here in 0chain repo.
Sharder Node API
Base URL
Since this API is provided by the sharders, the base URL is the URL of any active sharder. Check available sharders on mainnet in https://mainnet.zus.network.
Overview
Includes the endpoints that are provided by the sharder nodes. Those endpoints provide information about the miners and the chain status. Most of them are used to view information and statistics and check transaction confirmation.
Reference
Check the reference for this API here in 0chain repo.
Smart Contract APIs
Base URL
Since this API is provided by the sharders, the base URL is the URL of any active sharder. Check available sharders on mainnet in https://mainnet.zus.network.
Overview
Includes the endpoints that are used to explore the on-chain data (data related to the transactions). All those endpoints are GET HTTP requests that provide data from the persistence layer of the network data.
Reference
We have an API for each smartcontract, all in 0chain repo:
Blobber API
Base URL
Since this API is provided by the blobber, the base URL is the URL of any active blobber. You can get the blobber URL either from Atlus or by using zboxcli.
Overview
Includes endpoints to access and manage the blobber and your stored data on it (like upload, download, move, copy, update, rename)
Reference
Check the reference for this API here in blobber repo.
0DNS API
Base URL
The endpoints of this API should be based to the URL of the node locator of the network (0DNS service). For mainnet, this is https://mainnet.zus.network/dns.
Overview
Includes 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.
Reference
Check this API reference here.
Last updated