The block explorer provides an API allowing users and/or applications to retrieve information from the network without the need for a local wallet.
Return data from coind
getdifficulty
Returns the current difficulty.
explorer.myghost.org/api/getdifficulty
getconnectioncount
Returns the number of connections the block explorer has to other nodes.
explorer.myghost.org/api/getconnectioncount
getblockcount
Returns the current block index.
explorer.myghost.org/api/getblockcount
getblockhash [index]
Returns the hash of the block at ; index 0 is the genesis block.
explorer.myghost.org/api/getblockhash?index=299162
getblock [hash]
Returns information about the block with the given hash.
explorer.myghost.org/api/getblock?hash=2f466e64e7b53524723700bac6727440903e4236ecf2dab3024ead5302c14334
getrawtransaction [txid] [decrypt]
Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
explorer.myghost.org/api/getrawtransaction?txid=52eac20e52b5e29b5523a85049bf31f1a9509c2b3b3f1c03876840e8694b0ead&decrypt=0
explorer.myghost.org/api/getrawtransaction?txid=52eac20e52b5e29b5523a85049bf31f1a9509c2b3b3f1c03876840e8694b0ead&decrypt=1
getnetworkhashps
Returns the current network hashrate. (hash/s)
explorer.myghost.org/api/getnetworkhashps
Return data from local indexes
getmoneysupply
Returns current money supply
explorer.myghost.org/ext/getmoneysupply
blockreward
Returns block reward information
explorer.myghost.org/ext/blockreward?block=123
getvetlist
Returns current GVR list
explorer.myghost.org/ext/getvetlist
getvetlistsnapshot
Returns a snapshot of the GVR list. Updated daily at 23:59 UTC
explorer.myghost.org/ext/getvetlistsnapshot
getnethealth
Returns general network health stats
explorer.myghost.org/ext/getnethealth
sendrawtransaction
Sends valid siged raw transactions
explorer.myghost.org/ext/sendrawtransaction?hex=
getuniquestakers
Returns up to last 30 days of unique stakers. 1-30 days accepted, default = 7
explorer.myghost.org/ext/getuniquestakers?days=
getpoolstakers
Returns up to last 30 days of pool staking stats. 1-30 days accepted, default = 7
explorer.myghost.org/ext/getpoolstakers?days=
getdistribution
Returns wealth distribution stats
explorer.myghost.org/ext/getdistribution
getaddress (/ext/getaddress/hash)
Returns information for given address
explorer.myghost.org/ext/getaddress/GLHV6qUhF3o3xTnp6wMgwrW8x766zzp32V
gettx (/ext/gettx/hash)
Returns information for given tx hash
explorer.myghost.org/ext/gettx/52eac20e52b5e29b5523a85049bf31f1a9509c2b3b3f1c03876840e8694b0ead
getbalance (/ext/getbalance/hash)
Returns current balance of given address
explorer.myghost.org/ext/getbalance/GLHV6qUhF3o3xTnp6wMgwrW8x766zzp32V
getlasttxsajax (/ext/getlasttxsajax/min)
Returns last transactions greater than [min]
Note: returned values are in satoshis
explorer.myghost.org/ext/getlasttxsajax/100
Linking to the block explorer
transaction (/tx/txid)
explorer.myghost.org/tx/52eac20e52b5e29b5523a85049bf31f1a9509c2b3b3f1c03876840e8694b0ead
block (/block/hash)
explorer.myghost.org/block/2f466e64e7b53524723700bac6727440903e4236ecf2dab3024ead5302c14334
address (/address/hash)
explorer.myghost.org/address/GLHV6qUhF3o3xTnp6wMgwrW8x766zzp32V
qrcode (/qr/hash)
explorer.myghost.org/qr/GLHV6qUhF3o3xTnp6wMgwrW8x766zzp32V