MergeX Public API
A listing of public API endpoints for retrieving MergeX 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.mergexchain.com/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.explorer.mergexchain.com/api/getconnectioncount
- getblockcountReturns the current block index.explorer.mergexchain.com/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.explorer.mergexchain.com/api/getblockhash?index=1
- getblock [hash]Returns information about the block with the given hash.explorer.mergexchain.com/api/getblock?hash=000006b25fe55aa9432029bff76356f5194522efd00795b3c40881941ccc32aa
- 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.mergexchain.com/api/getnetworkhashps
- getvotelistReturns the current vote list.explorer.mergexchain.com/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.explorer.mergexchain.com/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyexplorer.mergexchain.com/ext/getmoneysupply
- getdistributionReturns wealth distribution statsexplorer.mergexchain.com/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressexplorer.mergexchain.com/ext/getaddress/MQRAz64zHEG4Q8VU9mG4afWTCqGXqek4av
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]explorer.mergexchain.com/ext/getaddresstxs/MQRAz64zHEG4Q8VU9mG4afWTCqGXqek4av/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashexplorer.mergexchain.com/ext/gettx/64a1e76786c77fa7a794297f63d6d368505f257ebf308c85f154dfcb62e73337
- getbalance (/ext/getbalance/hash)Returns current balance of given addressexplorer.mergexchain.com/ext/getbalance/MQRAz64zHEG4Q8VU9mG4afWTCqGXqek4av
- 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.mergexchain.com/ext/getnetworkpeers
- getmasternodelistReturns the complete list of masternodes on the network.explorer.mergexchain.com/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]explorer.mergexchain.com/ext/getmasternoderewards/MQRAz64zHEG4Q8VU9mG4afWTCqGXqek4av/1
- getmasternoderewardstotal (/ext/getmasternoderewardstotal/hash/since)Returns the total number of coins earned in masternode rewards for address [hash] that arrived after block height [since]explorer.mergexchain.com/ext/getmasternoderewardstotal/MQRAz64zHEG4Q8VU9mG4afWTCqGXqek4av/1
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)explorer.mergexchain.com/tx/64a1e76786c77fa7a794297f63d6d368505f257ebf308c85f154dfcb62e73337
- block (/block/hash)explorer.mergexchain.com/block/000006b25fe55aa9432029bff76356f5194522efd00795b3c40881941ccc32aa
- address (/address/hash)explorer.mergexchain.com/address/MQRAz64zHEG4Q8VU9mG4afWTCqGXqek4av
- qrcode (/qr/hash)explorer.mergexchain.com/qr/MQRAz64zHEG4Q8VU9mG4afWTCqGXqek4av