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