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