Osmium Public API
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.testnet.osmium.space/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.testnet.osmium.space/api/getconnectioncount
- getblockcountReturns the current block index.testnet.osmium.space/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.testnet.osmium.space/api/getblockhash?index=64152
- getblock [hash]Returns information about the block with the given hash.testnet.osmium.space/api/getblock?hash=000001c18eb51d23ad275da2fd118c311bbb47b39789da2c3d394a5215173915
- 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)testnet.osmium.space/api/getnetworkhashps
- getvotelistReturns the current vote list.testnet.osmium.space/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.testnet.osmium.space/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplytestnet.osmium.space/ext/getmoneysupply
- getdistributionReturns wealth distribution statstestnet.osmium.space/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addresstestnet.osmium.space/ext/getaddress/sNdDZHQDbRucJ4jfBnuxcomvdmFjWVjoty
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]testnet.osmium.space/ext/getaddresstxs/sNdDZHQDbRucJ4jfBnuxcomvdmFjWVjoty/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashtestnet.osmium.space/ext/gettx/63789c0e4f65b919fdb1c068b2abbbc0164e4937dc87c6cc4f465a00b50d8d21
- getbalance (/ext/getbalance/hash)Returns current balance of given addresstestnet.osmium.space/ext/getbalance/sNdDZHQDbRucJ4jfBnuxcomvdmFjWVjoty
- 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 pricetestnet.osmium.space/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hourstestnet.osmium.space/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, USDT price, # of masternodestestnet.osmium.space/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, USDT price, USD price, network connection count, block count, count of online masternodes, count of offline masternodestestnet.osmium.space/ext/getsummary
- getmasternodelistReturns the complete list of masternodes on the network.testnet.osmium.space/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]testnet.osmium.space/ext/getmasternoderewards/sNdDZHQDbRucJ4jfBnuxcomvdmFjWVjoty/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]testnet.osmium.space/ext/getmasternoderewardstotal/sNdDZHQDbRucJ4jfBnuxcomvdmFjWVjoty/64152
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)testnet.osmium.space/tx/63789c0e4f65b919fdb1c068b2abbbc0164e4937dc87c6cc4f465a00b50d8d21
- block (/block/hash)testnet.osmium.space/block/000001c18eb51d23ad275da2fd118c311bbb47b39789da2c3d394a5215173915
- address (/address/hash)testnet.osmium.space/address/sNdDZHQDbRucJ4jfBnuxcomvdmFjWVjoty
- qrcode (/qr/hash)testnet.osmium.space/qr/sNdDZHQDbRucJ4jfBnuxcomvdmFjWVjoty