API Documentation

The block explorer provides an API allowing users and/or applications to retrieve information from the network without the need for a local wallet.

API Calls

Return data from coind

getdifficulty

Core

Returns the current difficulty.

API Endpoint/api/getdifficulty

getconnectioncount

Core

Returns the number of connections the block explorer has to other nodes.

API Endpoint/api/getconnectioncount

getblockcount

Core

Returns the current block index.

API Endpoint/api/getblockcount

getblockhash [index]

Core

Returns the hash of the block at ; index 0 is the genesis block.

API Endpoint/api/getblockhash?index=885

getblock [hash]

Core

Returns information about the block with the given hash.

API Endpoint/api/getblock?hash=000001295636484923ce586e856be8e34a96e676988318e53a26250d933f7139

getrawtransaction [txid] [decrypt=0]

Core

Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).

API Endpoint/api/getrawtransaction?txid=1ca95c7da7ebaf7878adf0a8ddbfd88645bf0e495cb1564dc07a79022e2d290a&decrypt=0
Raw transaction output without decrypting scriptPubKey.

getrawtransaction [txid] [decrypt=1]

Core

Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).

API Endpoint/api/getrawtransaction?txid=1ca95c7da7ebaf7878adf0a8ddbfd88645bf0e495cb1564dc07a79022e2d290a&decrypt=1
Decoded transaction output with readable fields.

getnetworkhashps

Core

Returns the current network hashrate. (hash/s)

API Endpoint/api/getnetworkhashps

getmaxmoney

Heavy

Returns the maximum possible money supply.

API Endpoint/api/getmaxmoney

getmaxvote

Heavy

Returns the maximum allowed vote for the current phase of voting.

API Endpoint/api/getmaxvote

getvote

Heavy

Returns the current block reward vote setting.

API Endpoint/api/getvote

getphase

Heavy

Returns the current voting phase ('Mint', 'Limit' or 'Sustain').

API Endpoint/api/getphase

getreward

Heavy

Returns the current block reward, which has been decided democratically in the previous round of block reward voting.

API Endpoint/api/getreward

getsupply

Heavy

Returns the current money supply.

API Endpoint/api/getsupply

getmasternodewinners

Heavy

Returns masternode winners for recent and upcoming blocks.

API Endpoint/api/getmasternodewinners

getnextrewardwhenstr

Heavy

Returns string describing how long until the votes are tallied and the next block reward is computed.

API Endpoint/api/getnextrewardwhenstr

Extended API

Return data from local indexes

getmoneysupply

Extended

Returns current money supply.

API Endpoint/ext/getmoneysupply

getcirculatingsupply

Extended

Returns current circulating supply.

API Endpoint/ext/getcirculatingsupply

getdistribution

Extended

Returns wealth distribution stats.

API Endpoint/ext/getdistribution

getaddress [hash]

Extended

Returns information for the given address.

API Endpoint/ext/getaddress/MN4nSWW24BMr2SSgJmQeU1HQYhHuKdzy2m

getbalance [hash]

Extended

Returns current balance for the given address.

API Endpoint/ext/getbalance/MN4nSWW24BMr2SSgJmQeU1HQYhHuKdzy2m

getlasttxs [count] [min]

Extended

Returns the latest transactions greater than the given minimum value.

API Endpoint/ext/getlasttxs/10/100
Returned values are in satoshis.

getmasternodecount

Extended

Returns the total number of active masternodes.

API Endpoint/ext/getmasternodecount

Linking (GET)

Direct links to explorer pages

transaction [txid]

Link

Open a transaction page inside the explorer.

API Endpoint/tx/1ca95c7da7ebaf7878adf0a8ddbfd88645bf0e495cb1564dc07a79022e2d290a

block [hash]

Link

Open a block page inside the explorer.

API Endpoint/block/000001295636484923ce586e856be8e34a96e676988318e53a26250d933f7139

address [hash]

Link

Open an address page inside the explorer.

API Endpoint/address/MN4nSWW24BMr2SSgJmQeU1HQYhHuKdzy2m

qrcode [hash]

Link

Open the QR code page for an address.

API Endpoint/qr/MN4nSWW24BMr2SSgJmQeU1HQYhHuKdzy2m