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