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