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