ブロックエクスプローラは、ローカルウォレットなしでネットワークから情報を取得するためにユーザーやアプリケーションが使用できるAPIを提供します。
Return data from coind
getdifficulty
現在の難易度を返します。
sora.junkhdd.com:7350/api/getdifficulty
getconnectioncount
ブロックエクスプローラが他のノードに持つ接続数を返します。
sora.junkhdd.com:7350/api/getconnectioncount
getblockcount
現在のブロックインデックスを返します。
sora.junkhdd.com:7350/api/getblockcount
getblockhash [index]
指定されたインデックスのブロックのハッシュを返します。インデックス0はジェネシスブロックです。
sora.junkhdd.com:7350/api/getblockhash?index=1337
getblock [hash]
指定されたハッシュのブロックに関する情報を返します。
sora.junkhdd.com:7350/api/getblock?hash=376e1a321c5492eee9abc53a0ba79598500c5903385117d0b0f673f5433
getrawtransaction [txid] [decrypt]
指定されたトランザクションIDの生のトランザクション表現を返します。decryptは0(false)または1(true)に設定できます。
sora.junkhdd.com:7350/api/getrawtransaction?txid=a45504881bf2ae6d1d45a0038659d5ffe3c24775fc5ebe06a601b4d8e6231ae0&decrypt=0
sora.junkhdd.com:7350/api/getrawtransaction?txid=a45504881bf2ae6d1d45a0038659d5ffe3c24775fc5ebe06a601b4d8e6231ae0&decrypt=1
Return data from local indexes
getmoneysupply
Returns current money supply
sora.junkhdd.com:7350/ext/getmoneysupply
getdistribution
Returns wealth distribution stats
sora.junkhdd.com:7350/ext/getdistribution
getaddress (/ext/getaddress/hash)
Returns information for given address
sora.junkhdd.com:7350/ext/getaddress/SZxcWdMSpC2L9aET3eckHitCar1TP4iZVp
getbalance (/ext/getbalance/hash)
Returns current balance of given address
sora.junkhdd.com:7350/ext/getbalance/SZxcWdMSpC2L9aET3eckHitCar1TP4iZVp
getlasttxs (/ext/getlasttxs/count/min)
Returns last [count] transactions greater than [min]
Note: returned values are in satoshis
sora.junkhdd.com:7350/ext/getlasttxs/10/100
Linking to the block explorer
transaction (/tx/txid)
sora.junkhdd.com:7350/tx/a45504881bf2ae6d1d45a0038659d5ffe3c24775fc5ebe06a601b4d8e6231ae0
block (/block/hash)
sora.junkhdd.com:7350/block/376e1a321c5492eee9abc53a0ba79598500c5903385117d0b0f673f5433
address (/address/hash)
sora.junkhdd.com:7350/address/SZxcWdMSpC2L9aET3eckHitCar1TP4iZVp
qrcode (/qr/hash)
sora.junkhdd.com:7350/qr/SZxcWdMSpC2L9aET3eckHitCar1TP4iZVp