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