Api 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 mainnet https://api.zilliqa.com/
Developer testnet https://dev-api.zilliqa.com/
Local testnet http://localhost:4201/
Isolated server https://zilliqa-isolated-server.zilliqa.com/

You can use the following block explorers for the various networks

Chain(s) Explorer link
Zilliqa mainnet Viewblock explorer\
Devex explorer
Developer testnet ViewBlock testnet explorer \
DevEx testnet explorer
Local testnet Local explorer
Isolated server Isolated server explorer

All API calls are POST requests.

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

Data object Example
id e.g. "1"
jsonrpc e.g. "2.0"
method e.g. "GetBalance"
params e.g. ["1"]