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 coind
getdifficulty
Returns the current difficulty.
explorer.ocvcoin.com:80/api/getdifficulty
getconnectioncount
Returns the number of connections the block explorer has to other nodes.
explorer.ocvcoin.com:80/api/getconnectioncount
getblockcount
Returns the current block index.
explorer.ocvcoin.com:80/api/getblockcount
getblockhash [index]
Returns the hash of the block at ; index 0 is the genesis block.
explorer.ocvcoin.com:80/api/getblockhash?index=1
getblock [hash]
Returns information about the block with the given hash.
explorer.ocvcoin.com:80/api/getblock?hash=2cf1efbbbfdb6f808ed133559b520de56e8130a42f7f0ec3618bff41b1417c60
getrawtransaction [txid] [decrypt]
Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
explorer.ocvcoin.com:80/api/getrawtransaction?txid=1849a332edffd22417c099a249643fae2558f00210904ce14a9a24802ca2d71e&decrypt=0
explorer.ocvcoin.com:80/api/getrawtransaction?txid=1849a332edffd22417c099a249643fae2558f00210904ce14a9a24802ca2d71e&decrypt=1
getnetworkhashps
Returns the current network hashrate. (hash/s)
explorer.ocvcoin.com:80/api/getnetworkhashps
Return data from local indexes
getmoneysupply
Returns current money supply
explorer.ocvcoin.com:80/ext/getmoneysupply
getdistribution
Returns wealth distribution stats
explorer.ocvcoin.com:80/ext/getdistribution
getaddress (/ext/getaddress/hash)
Returns information for given address
explorer.ocvcoin.com:80/ext/getaddress/ocv1q4sgjge20whwxvmxm8nccuk9crnkjpxgmmahvzn
gettx (/ext/gettx/hash)
Returns information for given tx hash
explorer.ocvcoin.com:80/ext/gettx/1849a332edffd22417c099a249643fae2558f00210904ce14a9a24802ca2d71e
getbalance (/ext/getbalance/hash)
Returns current balance of given address
explorer.ocvcoin.com:80/ext/getbalance/ocv1q4sgjge20whwxvmxm8nccuk9crnkjpxgmmahvzn
getlasttxsajax (/ext/getlasttxsajax/min)
Returns last transactions greater than [min]
Note: returned values are in satoshis
explorer.ocvcoin.com:80/ext/getlasttxsajax/100
Linking to the block explorer
transaction (/tx/txid)
explorer.ocvcoin.com:80/tx/1849a332edffd22417c099a249643fae2558f00210904ce14a9a24802ca2d71e
block (/block/hash)
explorer.ocvcoin.com:80/block/2cf1efbbbfdb6f808ed133559b520de56e8130a42f7f0ec3618bff41b1417c60
address (/address/hash)
explorer.ocvcoin.com:80/address/ocv1q4sgjge20whwxvmxm8nccuk9crnkjpxgmmahvzn
qrcode (/qr/hash)
explorer.ocvcoin.com:80/qr/ocv1q4sgjge20whwxvmxm8nccuk9crnkjpxgmmahvzn