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.phantomx.org/api/getdifficulty
getconnectioncount
Returns the number of connections the block explorer has to other nodes.
explorer.phantomx.org/api/getconnectioncount
getblockcount
Returns the current block index.
explorer.phantomx.org/api/getblockcount
getblockhash [index]
Returns the hash of the block at ; index 0 is the genesis block.
explorer.phantomx.org/api/getblockhash?index=160333
getblock [hash]
Returns information about the block with the given hash.
explorer.phantomx.org/api/getblock?hash=c719ceec062d589b1ebfbfff43640b9f76e7835a084b74f3ffcb5ec0f86cda9d
getrawtransaction [txid] [decrypt]
Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
explorer.phantomx.org/api/getrawtransaction?txid=e7ddfacf327c8f3dbd0252c5f2f12df55aa8cf75a36f0777383f48d74c9d6bd7&decrypt=0
explorer.phantomx.org/api/getrawtransaction?txid=e7ddfacf327c8f3dbd0252c5f2f12df55aa8cf75a36f0777383f48d74c9d6bd7&decrypt=1
Return data from local indexes
getmoneysupply
Returns current money supply
explorer.phantomx.org/ext/getmoneysupply
getdistribution
Returns wealth distribution stats
explorer.phantomx.org/ext/getdistribution
getaddress (/ext/getaddress/hash)
Returns information for given address
explorer.phantomx.org/ext/getaddress/PGkXignbZEK7g4e26ijk8JpnPnQUFL9xkj
getbalance (/ext/getbalance/hash)
Returns current balance of given address
explorer.phantomx.org/ext/getbalance/PGkXignbZEK7g4e26ijk8JpnPnQUFL9xkj
getlasttxs (/ext/getlasttxs/count/min)
Returns last [count] transactions greater than [min]
Note: returned values are in satoshis
explorer.phantomx.org/ext/getlasttxs/10/100
Linking to the block explorer
transaction (/tx/txid)
explorer.phantomx.org/tx/e7ddfacf327c8f3dbd0252c5f2f12df55aa8cf75a36f0777383f48d74c9d6bd7
block (/block/hash)
explorer.phantomx.org/block/c719ceec062d589b1ebfbfff43640b9f76e7835a084b74f3ffcb5ec0f86cda9d
address (/address/hash)
explorer.phantomx.org/address/PGkXignbZEK7g4e26ijk8JpnPnQUFL9xkj
qrcode (/qr/hash)
explorer.phantomx.org/qr/PGkXignbZEK7g4e26ijk8JpnPnQUFL9xkj