Introduction


JSON-RPC is a remote procedure call protocol encoded in JSON. You can use this API to access data from the Zilliqa nodes. The JSON-RPC API server runs on:

Chain(s)URL(s)
Zilliqa mainnethttps://api.zilliqa.com/
Developer testnethttps://dev-api.zilliqa.com/
Local testnethttp://localhost:4201/
Isolated serverhttps://zilliqa-isolated-server.zilliqa.com/

You can use the following block explorers for the various networks

Chain(s)Explorer link
Zilliqa mainnethttps://viewblock.io/zilliqa
https://devex.zilliqa.com/
Developer testnethttps://viewblock.io/zilliqa?network=testnet
https://devex.zilliqa.com/?network=https%3A%2F%2Fdev-api.zilliqa.com
Local testnethttps://devex.zilliqa.com/?network=http%3A%2F%2Flocalhost%3A4201%2F
Isolated serverhttps://devex.zilliqa.com/?network=https%3A%2F%2Fzilliqa-isolated-server.zilliqa.com

All API calls are POST requests.

All requests follow the standard JSON-RPC format and include 4 variables in the data object:

Data objectExample
ide.g. "1"
jsonrpce.g. "2.0"
methode.g. "GetBalance"
paramse.g. ["1"]