01coin Public API
A listing of public API endpoints for retrieving 01coin coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.explorer.01coin.io/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.explorer.01coin.io/api/getconnectioncount
- getblockcountReturns the current block index.explorer.01coin.io/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.explorer.01coin.io/api/getblockhash?index=830760
- getblock [hash]Returns information about the block with the given hash.explorer.01coin.io/api/getblock?hash=000000000436046f7c13c8d9b088fe0b0b502cd8d30d2a72832f5a5940aec4b7
- getrawtransaction [txid] [decrypt]Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
- getnetworkhashpsReturns the current network hashrate. (hash/s)explorer.01coin.io/api/getnetworkhashps
- getmasternodecountReturns the total number of masternodes on the network.explorer.01coin.io/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyexplorer.01coin.io/ext/getmoneysupply
- getdistributionReturns wealth distribution statsexplorer.01coin.io/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressexplorer.01coin.io/ext/getaddress/ZEH5a4vr66g5aPSwVwDmcxAZ8v8RkfXurB
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]explorer.01coin.io/ext/getaddresstxs/ZEH5a4vr66g5aPSwVwDmcxAZ8v8RkfXurB/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashexplorer.01coin.io/ext/gettx/fa68beb70266faf0fe6894db873a05bb9b65af1c6a509ac571cd78596be90cdf
- getbalance (/ext/getbalance/hash)Returns current balance of given addressexplorer.01coin.io/ext/getbalance/ZEH5a4vr66g5aPSwVwDmcxAZ8v8RkfXurB
- getlasttxs (/ext/getlasttxs/min/start/length)Returns last [length] transactions greater than [min] coins, starting from offset [start]Note: [length] is limited to returning 100 records per query
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursexplorer.01coin.io/ext/getnetworkpeers
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, BTC price, network connection count, block count, count of online masternodes, count of offline masternodesexplorer.01coin.io/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)explorer.01coin.io/tx/fa68beb70266faf0fe6894db873a05bb9b65af1c6a509ac571cd78596be90cdf
- block (/block/hash)explorer.01coin.io/block/000000000436046f7c13c8d9b088fe0b0b502cd8d30d2a72832f5a5940aec4b7
- address (/address/hash)explorer.01coin.io/address/ZEH5a4vr66g5aPSwVwDmcxAZ8v8RkfXurB
- qrcode (/qr/hash)explorer.01coin.io/qr/ZEH5a4vr66g5aPSwVwDmcxAZ8v8RkfXurB