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