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.
ex1.infaqcoin.com/api/getdifficulty
getconnectioncount
Returns the number of connections the block explorer has to other nodes.
ex1.infaqcoin.com/api/getconnectioncount
getblockcount
Returns the current block index.
ex1.infaqcoin.com/api/getblockcount
getblockhash [index]
Returns the hash of the block at ; index 0 is the genesis block.
ex1.infaqcoin.com/api/getblockhash?index=31
getblock [hash]
Returns information about the block with the given hash.
ex1.infaqcoin.com/api/getblock?hash=000001902c9a9d651b201f565cea58ad41a75b6c45463d9fc2ad6d458d652ca2
getrawtransaction [txid] [decrypt]
Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
ex1.infaqcoin.com/api/getrawtransaction?txid=caeab50ad068094ca13e1d9983ee1688ddadc9312c00f4cece93da0a8557e834&decrypt=0
ex1.infaqcoin.com/api/getrawtransaction?txid=caeab50ad068094ca13e1d9983ee1688ddadc9312c00f4cece93da0a8557e834&decrypt=1
getnetworkhashps
Returns the current network hashrate. (hash/s)
ex1.infaqcoin.com/api/getnetworkhashps
Return data from local indexes
getmoneysupply
Returns current money supply
ex1.infaqcoin.com/ext/getmoneysupply
getdistribution
Returns wealth distribution stats
ex1.infaqcoin.com/ext/getdistribution
getaddress (/ext/getaddress/hash)
Returns information for given address
ex1.infaqcoin.com/ext/getaddress/iniQDFfraGDyXX78xxgquP2GvcKMPwD5XB
gettx (/ext/gettx/hash)
Returns information for given tx hash
ex1.infaqcoin.com/ext/gettx/caeab50ad068094ca13e1d9983ee1688ddadc9312c00f4cece93da0a8557e834
getbalance (/ext/getbalance/hash)
Returns current balance of given address
ex1.infaqcoin.com/ext/getbalance/iniQDFfraGDyXX78xxgquP2GvcKMPwD5XB
getlasttxsajax (/ext/getlasttxsajax/min)
Returns last transactions greater than [min]
Note: returned values are in satoshis
ex1.infaqcoin.com/ext/getlasttxsajax/100
Linking to the block explorer
transaction (/tx/txid)
ex1.infaqcoin.com/tx/caeab50ad068094ca13e1d9983ee1688ddadc9312c00f4cece93da0a8557e834
block (/block/hash)
ex1.infaqcoin.com/block/000001902c9a9d651b201f565cea58ad41a75b6c45463d9fc2ad6d458d652ca2
address (/address/hash)
ex1.infaqcoin.com/address/iniQDFfraGDyXX78xxgquP2GvcKMPwD5XB
qrcode (/qr/hash)
ex1.infaqcoin.com/qr/iniQDFfraGDyXX78xxgquP2GvcKMPwD5XB