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
getdifficulty
Returns the current difficulty.
127.0.0.1:3001/api/getdifficulty
getblockcount
Returns the current block index.
127.0.0.1:3001/api/getblockcount
getblockhash [index]
Returns the hash of the block at ; index 0 is the genesis block.
127.0.0.1:3001/api/getblockhash?index=730304
getrawtransaction [txid] [decrypt]
Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
127.0.0.1:3001/api/getrawtransaction?txid=4a6434665bf0f84604cc97d2325a2222afecacb5dad2a77a726149413a729074&decrypt=0
127.0.0.1:3001/api/getrawtransaction?txid=4a6434665bf0f84604cc97d2325a2222afecacb5dad2a77a726149413a729074&decrypt=1
Return data from local indexes
getmoneysupply
Returns current money supply
127.0.0.1:3001/ext/getmoneysupply
getlasttxs (/ext/getlasttxs/count/min)
Returns last [count] transactions greater than [min]
Note: returned values are in satoshis
127.0.0.1:3001/ext/getlasttxs/10/100