
MintCoin Public API
A listing of public API endpoints for retrieving MintCoin coin data from the network without the need for a local wallet
API Documentation

API Calls
Return data from coind
- getdifficultyReturns the current difficulty.127.0.0.1:3001/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.127.0.0.1:3001/api/getconnectioncount
- getblockcountReturns the current block index.127.0.0.1:3001/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.127.0.0.1:3001/api/getblockhash?index=1337
- getblock [hash]Returns information about the block with the given hash.127.0.0.1:3001/api/getblock?hash=000000001770a8f014335fd322ed00fc860f958624cd811551721235785d7c5c
- getnetworkhashpsReturns the current network hashrate. (hash/s)127.0.0.1:3001/api/getnetworkhashps
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supply127.0.0.1:3001/ext/getmoneysupply
- getdistributionReturns wealth distribution stats127.0.0.1:3001/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given address127.0.0.1:3001/ext/getaddress/Mru7cUtxC1K6VyRSJX1LdwECTn2rYFyQFf
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]127.0.0.1:3001/ext/getaddresstxs/Mru7cUtxC1K6VyRSJX1LdwECTn2rYFyQFf/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hash127.0.0.1:3001/ext/gettx/ad5bb60e57e1cd82ace408ba9e6fe68b69a1df896c4158d3c22ef3f6e843ee94
- getbalance (/ext/getbalance/hash)Returns current balance of given address127.0.0.1:3001/ext/getbalance/Mru7cUtxC1K6VyRSJX1LdwECTn2rYFyQFf
- 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 price127.0.0.1:3001/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hours127.0.0.1:3001/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC price127.0.0.1:3001/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, BTC price, network connection count, block count127.0.0.1:3001/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)127.0.0.1:3001/tx/ad5bb60e57e1cd82ace408ba9e6fe68b69a1df896c4158d3c22ef3f6e843ee94
- block (/block/hash)127.0.0.1:3001/block/000000001770a8f014335fd322ed00fc860f958624cd811551721235785d7c5c
- address (/address/hash)127.0.0.1:3001/address/Mru7cUtxC1K6VyRSJX1LdwECTn2rYFyQFf
- qrcode (/qr/hash)127.0.0.1:3001/qr/Mru7cUtxC1K6VyRSJX1LdwECTn2rYFyQFf

