Block Explorer http://explorer.x42.tech/

API http://explorer.x42.tech/info

API Calls

Return data from coind

•getdifficulty

Returns the current difficulty.

explorer.x42.tech/api/getdifficulty

•getconnectioncount

Returns the number of connections the block explorer has to other nodes.

explorer.x42.tech/api/getconnectioncount

•getblockcount

Returns the current block index.

explorer.x42.tech/api/getblockcount

•getblockhash [index]

Returns the hash of the block at ; index 0 is the genesis block.

explorer.x42.tech/api/getblockhash?index=1337

•getblock [hash]

Returns information about the block with the given hash.

explorer.x42.tech/api/getblock?hash=dfecf9dcedb9140f9d59f96f0a09de880cf5cab164b8053af3f8ceca053e8de2

•getrawtransaction [txid] [decrypt]

Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).

explorer.x42.tech/api/getrawtransaction?txid=ca177f64a33d9aca2bcd80fbf32ecfe6e8646c2b51fd75f21cf9537c3d31ab77&decrypt=0

explorer.x42.tech/api/getrawtransaction?txid=ca177f64a33d9aca2bcd80fbf32ecfe6e8646c2b51fd75f21cf9537c3d31ab77&decrypt=1

x42Today at 7:47 PM

Extended API

Return data from local indexes

•getmoneysupply

Returns current money supply

explorer.x42.tech/ext/getmoneysupply

•getdistribution

Returns wealth distribution stats

explorer.x42.tech/ext/getdistribution

•getaddress (/ext/getaddress/hash)

Returns information for given address

explorer.x42.tech/ext/getaddress/XSTpk7CEbqepjGREaz7azPvPyNS5TnXhdA

•getbalance (/ext/getbalance/hash)

Returns current balance of given address

explorer.x42.tech/ext/getbalance/XSTpk7CEbqepjGREaz7azPvPyNS5TnXhdA

•getlasttxs (/ext/getlasttxs/count/min)

Returns last [count] transactions greater than [min]

Note: returned values are in satoshis

explorer.x42.tech/ext/getlasttxs/10/100

Linking (GET)

Linking to the block explorer

•transaction (/tx/txid)

explorer.x42.tech/tx/ca177f64a33d9aca2bcd80fbf32ecfe6e8646c2b51fd75f21cf9537c3d31ab77

•block (/block/hash)

explorer.x42.tech/block/dfecf9dcedb9140f9d59f96f0a09de880cf5cab164b8053af3f8ceca053e8de2

•address (/address/hash)

explorer.x42.tech/address/XSTpk7CEbqepjGREaz7azPvPyNS5TnXhdA

•qrcode (/qr/hash)

explorer.x42.tech/qr/XSTpk7CEbqepjGREaz7azPvPyNS5TnXhdA