Network (GH/s) | Difficulty | Coin Supply (BTG) |
0.0124 | 1209534.204796182 | 17110823.58899401 |
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
Returns the current difficulty.
btgblocks.com/api/getdifficulty - getconnectioncount
Returns the number of connections the block explorer has to other nodes.
btgblocks.com/api/getconnectioncount - getblockcount
Returns the current block index.
btgblocks.com/api/getblockcount - getblockhash [index]
Returns the hash of the block at ; index 0 is the genesis block.
btgblocks.com/api/getblockhash?index=491408 - getblock [hash]
Returns information about the block with the given hash.
btgblocks.com/api/getblock?hash=0005df4cfdcaba340b50f59eb2d434739b1447f716b4a877e99fea082b8a4842 - getrawtransaction [txid] [decrypt]
Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
btgblocks.com/api/getrawtransaction?txid=14623f0f33ae9ed6e4b321b536b0092b7f6124736b123d5ac623107a3f91cf0b&decrypt=0
btgblocks.com/api/getrawtransaction?txid=14623f0f33ae9ed6e4b321b536b0092b7f6124736b123d5ac623107a3f91cf0b&decrypt=1 - sendrawtransaction [hexstring]
btgblocks.com/api/sendrawtransaction?hexstring=