
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.
127.0.0.1:80/api/getdifficulty
getconnectioncount
Returns the number of connections the block explorer has to other nodes.
https://explorer.knolix.com/api/getconnectioncount
getblockcount
Returns the current block index.
https://explorer.knolix.com/api/getblockcount
getblockhash [index]
Returns the hash of the block at ; index 0 is the genesis block.
https://explorer.knolix.com/api/getblockhash?index=1337
getblock [hash]
Returns information about the block with the given hash.
https://explorer.knolix.com/api/getblock?hash=a2fec52defce410a902eeed7d4ceca8eb2bcf7837716df2b2fa8f896a2312ac8
getrawtransaction [txid] [decrypt]
Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
https://explorer.knolix.com/api/getrawtransaction?txid=57b9e834ec6a3c740315f2411dcd623cf416939d33e678c61789c213df1247bb&decrypt=0
https://explorer.knolix.com/api/getrawtransaction?txid=57b9e834ec6a3c740315f2411dcd623cf416939d33e678c61789c213df1247bb&decrypt=1
Return data from local indexes
getmoneysupply
Returns current money supply
https://explorer.knolix.com/ext/getmoneysupply
getdistribution
Returns wealth distribution stats
https://explorer.knolix.com/ext/getdistribution
getaddress (/ext/getaddress/hash)
Returns information for given address
https://explorer.knolix.com/ext/getaddress/KMXsKR3QgNm3DrtVxRJV67P4mX7HvVFyJT
gettx (/ext/gettx/hash)
Returns information for given tx hash
https://explorer.knolix.com/ext/gettx/57b9e834ec6a3c740315f2411dcd623cf416939d33e678c61789c213df1247bb
getbalance (/ext/getbalance/hash)
Returns current balance of given address
https://explorer.knolix.com/ext/getbalance/KMXsKR3QgNm3DrtVxRJV67P4mX7HvVFyJT
Linking to the block explorer
transaction (/tx/txid)
https://explorer.knolix.com/tx/57b9e834ec6a3c740315f2411dcd623cf416939d33e678c61789c213df1247bb
block (/block/hash)
https://explorer.knolix.com/block/a2fec52defce410a902eeed7d4ceca8eb2bcf7837716df2b2fa8f896a2312ac8
address (/address/hash)
https://explorer.knolix.com/address/KMXsKR3QgNm3DrtVxRJV67P4mX7HvVFyJT