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