MasternodeBTC Public API
A listing of public API endpoints for retrieving MasternodeBTC coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.38.242.145.127/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.38.242.145.127/api/getconnectioncount
- getblockcountReturns the current block index.38.242.145.127/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.38.242.145.127/api/getblockhash?index=200
- getblock [hash]Returns information about the block with the given hash.38.242.145.127/api/getblock?hash=0000003937c9c2098a3c93089a2d0b34d752e6c00425870c6e484aa36752ecb0
- 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)38.242.145.127/api/getnetworkhashps
- getvotelistReturns the current vote list.38.242.145.127/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.38.242.145.127/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supply38.242.145.127/ext/getmoneysupply
- getdistributionReturns wealth distribution stats38.242.145.127/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given address38.242.145.127/ext/getaddress/ELvb8AZRgHmdsDnD1HYFwbSY4UkPhoECCW
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]38.242.145.127/ext/getaddresstxs/ELvb8AZRgHmdsDnD1HYFwbSY4UkPhoECCW/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hash38.242.145.127/ext/gettx/21d4ad07a2df3c8e62137b1c0d976dcf869b3a4870ade399f9b43df7761e5ff5
- getbalance (/ext/getbalance/hash)Returns current balance of given address38.242.145.127/ext/getbalance/ELvb8AZRgHmdsDnD1HYFwbSY4UkPhoECCW
- 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 price38.242.145.127/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hours38.242.145.127/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, USDT price, # of masternodes38.242.145.127/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 masternodes38.242.145.127/ext/getsummary
- getmasternodelistReturns the complete list of masternodes on the network.38.242.145.127/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]38.242.145.127/ext/getmasternoderewards/ELvb8AZRgHmdsDnD1HYFwbSY4UkPhoECCW/200
- getmasternoderewardstotal (/ext/getmasternoderewardstotal/hash/since)Returns the total number of coins earned in masternode rewards for address [hash] that arrived after block height [since]38.242.145.127/ext/getmasternoderewardstotal/ELvb8AZRgHmdsDnD1HYFwbSY4UkPhoECCW/200
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)38.242.145.127/tx/21d4ad07a2df3c8e62137b1c0d976dcf869b3a4870ade399f9b43df7761e5ff5
- block (/block/hash)38.242.145.127/block/0000003937c9c2098a3c93089a2d0b34d752e6c00425870c6e484aa36752ecb0
- address (/address/hash)38.242.145.127/address/ELvb8AZRgHmdsDnD1HYFwbSY4UkPhoECCW
- qrcode (/qr/hash)38.242.145.127/qr/ELvb8AZRgHmdsDnD1HYFwbSY4UkPhoECCW