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 coin
getdifficulty
Returns the current difficulty.
http://127.0.0.1/api/getdifficulty
getconnectioncount
Returns the number of connections the block explorer has to other nodes.
http://127.0.0.1/api/getconnectioncount
getblockcount
Returns the current block index.
http://127.0.0.1/api/getblockcount
getblockhash [index]
Returns the hash of the block at ; index 0 is the genesis block.
http://127.0.0.1/api/getblockhash?index=150
getblock [hash]
Returns information about the block with the given hash.
http://127.0.0.1/api/getblock?hash=0000002dff389496faff2015781cd2fe885397d52fbb609242a78d1779e3dc10
getrawtransaction [txid] [decrypt]
Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
http://127.0.0.1/api/getrawtransaction?txid=cb9573ade6face34a9ad5b04be0af469f882622cae1c567d3be7f874a2149270&decrypt=0
http://127.0.0.1/api/getrawtransaction?txid=cb9573ade6face34a9ad5b04be0af469f882622cae1c567d3be7f874a2149270&decrypt=1
Return data from local indexes
getmoneysupply
Returns current money supply
http://127.0.0.1/ext/getmoneysupply
getdistribution
Returns wealth distribution stats
http://127.0.0.1/ext/getdistribution
getaddress (/ext/getaddress/hash)
Returns information for given address
http://127.0.0.1/ext/getaddress/NRAVzG97kkSNpjz3Esqg8SdBaZPQgk6Q7P
getbalance (/ext/getbalance/hash)
Returns current balance of given address
http://127.0.0.1/ext/getbalance/NRAVzG97kkSNpjz3Esqg8SdBaZPQgk6Q7P
getlasttxs (/ext/getlasttxs/count/min)
Returns last [count] transactions greater than [min]
Note: returned values are in satoshis
http://127.0.0.1/ext/getlasttxs/10/100
Linking to the block explorer
transaction (/tx/txid)
http://127.0.0.1/tx/cb9573ade6face34a9ad5b04be0af469f882622cae1c567d3be7f874a2149270
block (/block/hash)
http://127.0.0.1/block/0000002dff389496faff2015781cd2fe885397d52fbb609242a78d1779e3dc10
address (/address/hash)
http://127.0.0.1/address/NRAVzG97kkSNpjz3Esqg8SdBaZPQgk6Q7P
qrcode (/qr/hash)
http://127.0.0.1/qr/NRAVzG97kkSNpjz3Esqg8SdBaZPQgk6Q7P