
The block explorer provides an API allowing users and/or applications to retrieve information from the network without the need for a local wallet.
Return data from chaincoind
getdifficulty
Returns the current difficulty.
explorer.example.com/api/getdifficulty
getconnectioncount
Returns the number of connections the block explorer has to other nodes.
explorer.example.com/api/getconnectioncount
getmasternodecount
Returns the total number of master nodes on the network.
explorer.example.com/api/getmasternodecount
getblockcount
Returns the current block index.
explorer.example.com/api/getblockcount
getblockhash [index]
Returns the hash of the block at ; index 0 is the genesis block.
explorer.example.com/api/getblockhash?index=40
getblock [hash]
Returns information about the block with the given hash.
explorer.example.com/api/getblock?hash=000000002da25728430ce0eecd9d2c9c43ab3bd4a24ae0ba45378702e459e2b9
getrawtransaction [txid] [decrypt]
Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
explorer.example.com/api/getrawtransaction?txid=54c051d14c53987e596f0e1f16de9d1a27f1cb7722e20e63738ec49a9a7fd2f6&decrypt=0
explorer.example.com/api/getrawtransaction?txid=54c051d14c53987e596f0e1f16de9d1a27f1cb7722e20e63738ec49a9a7fd2f6&decrypt=1
Return data from local indexes
getmoneysupply
Returns current money supply
explorer.example.com/ext/getmoneysupply
getdistribution
Returns wealth distribution stats
explorer.example.com/ext/getdistribution
getaddress (/ext/getaddress/hash)
Returns information for given address
explorer.example.com/ext/getaddress/PEuPzsu4zyFQbTAjTxnqWjm32DGBY9mcv2
getbalance (/ext/getbalance/hash)
Returns current balance of given address
explorer.example.com/ext/getbalance/PEuPzsu4zyFQbTAjTxnqWjm32DGBY9mcv2
getlasttxs (/ext/getlasttxs/count/min)
Returns last [count] transactions greater than [min]
Note: returned values are in satoshis
explorer.example.com/ext/getlasttxs/10/100
Linking to the block explorer
transaction (/tx/txid)
explorer.example.com/tx/54c051d14c53987e596f0e1f16de9d1a27f1cb7722e20e63738ec49a9a7fd2f6
block (/block/hash)
explorer.example.com/block/000000002da25728430ce0eecd9d2c9c43ab3bd4a24ae0ba45378702e459e2b9
address (/address/hash)
explorer.example.com/address/PEuPzsu4zyFQbTAjTxnqWjm32DGBY9mcv2
qrcode (/qr/hash)
explorer.example.com/qr/PEuPzsu4zyFQbTAjTxnqWjm32DGBY9mcv2