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