API Reference
v1.0.0https://zil.nownodes.ioAuthentication
api-keyAuthapiKeyAPI Key: api-key in header
MAINNET / API-Reference
default
Get latest DS block number
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the latest DS (Directory Service) block number.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
idintegerrequiredRequest ID
paramsArray<string | integer | object | boolean>requiredParameters for the method (empty if none)
Response
Latest DS block number retrieved successfully
Get DS block creation rate
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the rate of DS block creation in blocks per second.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
idintegerrequiredRequest ID
paramsArray<string | integer | object | boolean>requiredParameters for the method (empty if none)
Response
DS block creation rate retrieved successfully
Get latest transaction block number
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the latest transaction (Tx) block number.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
idintegerrequiredRequest ID
paramsArray<string | integer | object | boolean>requiredParameters for the method (empty if none)
Response
Latest Tx block number retrieved successfully
Get network ID
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the network ID of the connected Zilliqa network.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
idintegerrequiredRequest ID
paramsArray<string | integer | object | boolean>requiredParameters for the method (empty if none)
Response
Network ID retrieved successfully
Get miner information
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns information about the miner of the node.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
idintegerrequiredRequest ID
paramsArray<string | integer | object | boolean>requiredParameters for the method (empty if none)
Response
Miner information retrieved successfully
Get node type
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the type of the current node.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
idintegerrequiredRequest ID
paramsArray<string | integer | object | boolean>requiredParameters for the method (empty if none)
Response
Node type retrieved successfully
Get number of DS blocks
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the total number of DS blocks created so far.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
idintegerrequiredRequest ID
paramsArray<string | integer | object | boolean>requiredParameters for the method (empty if none)
Response
Number of DS blocks retrieved successfully
Get number of peers
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the number of peers connected to this node.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
idintegerrequiredRequest ID
paramsArray<string | integer | object | boolean>requiredParameters for the method (empty if none)
Response
Number of peers retrieved successfully
Get number of transactions
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the total number of transactions processed so far.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
idintegerrequiredRequest ID
paramsArray<string | integer | object | boolean>requiredParameters for the method (empty if none)
Response
Number of transactions retrieved successfully
Get number of transaction blocks
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the total number of transaction blocks created so far.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
idintegerrequiredRequest ID
paramsArray<string | integer | object | boolean>requiredParameters for the method (empty if none)
Response
Number of transaction blocks retrieved successfully
Get previous mining difficulty
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the mining difficulty of the previous transaction block.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
idintegerrequiredRequest ID
paramsArray<string | integer | object | boolean>requiredParameters for the method (empty if none)
Response
Previous transaction block difficulty retrieved successfully
Get previous DS block difficulty
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the mining difficulty of the previous DS block.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
idintegerrequiredRequest ID
paramsArray<string | integer | object | boolean>requiredParameters for the method (empty if none)
Response
Previous DS block difficulty retrieved successfully
Get current sharding structure
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the current sharding structure of the Zilliqa network including shards and DS committee members.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
idintegerrequiredRequest ID
paramsArray<string | integer | object | boolean>requiredParameters for the method (empty if none)
Response
Sharding structure retrieved successfully
Get node software version
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the current node software version.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
idintegerrequiredRequest ID
paramsArray<string | integer | object | boolean>requiredParameters for the method (empty if none)
Response
Node version retrieved successfully
Get total coin supply
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the total circulating supply of ZIL coins.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
idintegerrequiredRequest ID
paramsArray<string | integer | object | boolean>requiredParameters for the method (empty if none)
Response
Total coin supply retrieved successfully
Get transaction block details by block number
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns detailed information about a specific transaction block by its number.
Body
jsonrpcstringJSON-RPC version
methodstringMethod name
idintegerRequest ID
paramsArray<integer>Array with block number (height) as parameter
Response
Transaction block details retrieved successfully
Get transaction block creation rate
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the average rate at which transaction blocks are created.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
idintegerrequiredRequest ID
paramsArray<string | integer | object | boolean>requiredParameters for the method (empty if none)
Response
Transaction block creation rate retrieved successfully