BitcoinOIL Public API
A listing of public API endpoints for retrieving BitcoinOIL coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.btco-explorer.pool.sexy/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.btco-explorer.pool.sexy/api/getconnectioncount
- getblockcountReturns the current block index.btco-explorer.pool.sexy/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.btco-explorer.pool.sexy/api/getblockhash?index=64152
- getblock [hash]Returns information about the block with the given hash.btco-explorer.pool.sexy/api/getblock?hash=0000000000005d7406b4faa2f26d4031c12e81ac210fab923480fba198009cd9
- 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)btco-explorer.pool.sexy/api/getnetworkhashps
- getvotelistReturns the current vote list.btco-explorer.pool.sexy/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.btco-explorer.pool.sexy/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplybtco-explorer.pool.sexy/ext/getmoneysupply
- getdistributionReturns wealth distribution statsbtco-explorer.pool.sexy/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressbtco-explorer.pool.sexy/ext/getaddress/btco1qwacjscpdspfnz49v76k5rlx5z7manjju3s9y2r
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]btco-explorer.pool.sexy/ext/getaddresstxs/btco1qwacjscpdspfnz49v76k5rlx5z7manjju3s9y2r/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashbtco-explorer.pool.sexy/ext/gettx/809ee208963aede890bddb39f31a55c147d226e0655e611bf88a3db4b3194176
- getbalance (/ext/getbalance/hash)Returns current balance of given addressbtco-explorer.pool.sexy/ext/getbalance/btco1qwacjscpdspfnz49v76k5rlx5z7manjju3s9y2r
- 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
- getcurrentpriceReturns last known exchange pricebtco-explorer.pool.sexy/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursbtco-explorer.pool.sexy/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC price, # of masternodesbtco-explorer.pool.sexy/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, BTC price, USD price, network connection count, block count, count of online masternodes, count of offline masternodesbtco-explorer.pool.sexy/ext/getsummary
- getmasternodelistReturns the complete list of masternodes on the network.btco-explorer.pool.sexy/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]btco-explorer.pool.sexy/ext/getmasternoderewards/btco1qwacjscpdspfnz49v76k5rlx5z7manjju3s9y2r/64152
- getmasternoderewardstotal (/ext/getmasternoderewardstotal/hash/since)Returns the total number of coins earned in masternode rewards for address [hash] that arrived after block height [since]btco-explorer.pool.sexy/ext/getmasternoderewardstotal/btco1qwacjscpdspfnz49v76k5rlx5z7manjju3s9y2r/64152
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)btco-explorer.pool.sexy/tx/809ee208963aede890bddb39f31a55c147d226e0655e611bf88a3db4b3194176
- block (/block/hash)btco-explorer.pool.sexy/block/0000000000005d7406b4faa2f26d4031c12e81ac210fab923480fba198009cd9
- address (/address/hash)btco-explorer.pool.sexy/address/btco1qwacjscpdspfnz49v76k5rlx5z7manjju3s9y2r
- qrcode (/qr/hash)btco-explorer.pool.sexy/qr/btco1qwacjscpdspfnz49v76k5rlx5z7manjju3s9y2r