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