This explorer provides an API for getting details about transactions, blocks, mempool, network stats, and more. Additionally it provides a way to prove transactions and search for transactions belonging to a given address.
curl -w "\n" -X GET "https://explorer.arqma.com/api/transaction/ab6481288a5f72f9a1cc329cd85f0d686b7fd85b2abcca8e93eecb5e6a8bb038"
Partial results shown:
{
"data":{
"block_height":156844,
"coinbase":true,
"confirmations":4,
"current_height":156848,
"extra":"0190c6a55fe6d77033f225291b36d22b700264d9c3f7c3648516f73f6470216015021039303031000000020000001049d4e900",
"inputs":null,
"mixin":0,
"outputs":[
{
"amount":41978500000,
"public_key":"9935ac366ebd6fb6aee84581d9027dd0498ff6761a470bfaa8e48ff429788e22"
}
],
"payment_id":"",
"payment_id8":"",
"rct_type":0,
"timestamp":1532649166,
"timestamp_utc":"2018-07-26 23:52:46",
"tx_fee":0,
"tx_hash":"4307e5619b29dcc1d9cdf4a52b3d0717bcbab0efc06d88fb79a1e0e33594e6ec",
"tx_size":102,
"tx_version":3,
"arq_inputs":0,
"arq_outputs":41978500000
},
"status":"success"
}
Transactions in last 25 blocks
curl -w "\n" -X GET "https://explorer.arqma.com/api/transactions"
Partial results shown:
{
"data":{
"blocks":[
{
"age":"00:05:41",
"hash":"e3ff8c52516b8389888ee742d7f18448e3760199560f24ebd80092e46019fa9c",
"height":156848,
"size":28268.0,
"timestamp":1532649512,
"timestamp_utc":"2018-07-26 23:58:32",
"txs":[
{
"coinbase":true,
"extra":"01c9417029a41208a7142bf3a458935403328b34ca54a6c8b8a2ecf661043844000211af08e9cf0732704a000000000000000000",
"mixin":0,
"payment_id":"",
"payment_id8":"",
"rct_type":0,
"tx_fee":0,
"tx_hash":"5ace475abe36a574ee0d73e2c6aa5ba37473361934ed1b36981f17cbd8c6ecb4",
"tx_size":103,
"tx_version":3,
"arq_inputs":0,
"arq_outputs":41999000000
},
{
"coinbase":false,
"extra":"0181a8586bb9e3f98e04b80496632a9fea2afa59fb5e3c844b1ab28182f833e053",
"mixin":13,
"payment_id":"",
"payment_id8":"",
"rct_type":1,
"tx_fee":14000000,
"tx_hash":"242b5bca09edf614a6440a183c949934dbc1de82176bc2103141be7aed39ae32",
"tx_size":13586,
"tx_version":3,
"arq_inputs":0,
"arq_outputs":0
},
{
"coinbase":false,
"extra":"01622d73b89759ab0ba0d9fb211fd430ada1b5958eea6a14b5aa08f0cd0a1def1c",
"mixin":13,
"payment_id":"",
"payment_id8":"",
"rct_type":2,
"tx_fee":15000000,
"tx_hash":"01cf17ce53e132f1a987cb1b4dbfe51d13a163425d2202744c624166514746d9",
"tx_size":14579,
"tx_version":3,
"arq_inputs":0,
"arq_outputs":0
}
]
},
],
"current_height":156849,
"limit":25,
"page":0,
"total_page_no":6273
},
"status":"success"
}
curl -w "\n" -X GET "https://explorer.arqma.com/api/transactions?page=2&limit=10"
Result analogical to the one above.
curl -w "\n" -X GET "https://explorer.arqma.com/api/block/150000"
Partial results shown:
{
"data":{
"block_height":150000,
"current_height":156849,
"hash":"debc58ac64fc8dc7ae35b0b8782ae33a0fe5855dc85930bc52b8fec3c1aee94a",
"size":422899,
"timestamp":1530990884,
"timestamp_utc":"2018-07-07 19:14:44",
"txs":[
{
"coinbase":true,
"extra":"01e10420c2c5461ace855ffc8aa4a8256e784e873c325d71e798812ac90c35c19b020816d80f5c00000000",
"mixin":0,
"payment_id":"",
"payment_id8":"",
"rct_type":0,
"tx_fee":0,
"tx_hash":"2743243d3eb70b88baa26f70dd20c606470c5995de194ad9d0d4acf83d5ab761",
"tx_size":94,
"tx_version":3,
"arq_inputs":0,
"arq_outputs":42187500000
},
]
},
"status":"success"
}
Return all txs in the mempool.
curl -w "\n" -X GET "https://explorer.arqma.com/api/mempool"
Partial results shown:
{
"data":{
"limit":100000000,
"page":0,
"total_page_no":0,
"txs":[
{
"coinbase":false,
"extra":"0221000140bc7298830abaeb711b7214acb45c431db86c52da40f739fb6908f5dbe596019d29ab0f8b846889d1971d8d7915baab2b2335c4105bcdda1517544f2c4aa086",
"mixin":13,
"payment_id":"0140bc7298830abaeb711b7214acb45c431db86c52da40f739fb6908f5dbe596",
"payment_id8":"",
"rct_type":2,
"timestamp":0,
"timestamp_utc":"1970-01-01 00:00:00",
"tx_fee":8000000,
"tx_hash":"8f00e3746c7fe1e50bd72da69e00449b53586fbd793ed392a63c283b9fbf7c49",
"tx_size":15584,
"tx_version":3,
"arq_inputs":0,
"arq_outputs":0
},
],
"txs_no":3
},
"status":"success"
}
Limit of 100000000 is just default value above to ensure that all mempool txs are fetched if no specific limit given.
Return number of newest mempool txs, e.g., only 10.
curl -w "\n" -X GET "https://explorer.arqma.com/api/mempool?limit=10"
Result analogical to the one above.
curl -w "\n" -X GET "https://explorer.arqma.com/api/search/150000"
Partial results shown:
{
"data":{
"block_height":150000,
"current_height":156850,
"hash":"debc58ac64fc8dc7ae35b0b8782ae33a0fe5855dc85930bc52b8fec3c1aee94a",
"size":422899,
"timestamp":1530990884,
"timestamp_utc":"2018-07-07 19:14:44",
"title":"block",
"txs":[
{
"coinbase":true,
"extra":"01e10420c2c5461ace855ffc8aa4a8256e784e873c325d71e798812ac90c35c19b020816d80f5c00000000",
"mixin":0,
"payment_id":"",
"payment_id8":"",
"rct_type":0,
"tx_fee":0,
"tx_hash":"2743243d3eb70b88baa26f70dd20c606470c5995de194ad9d0d4acf83d5ab761",
"tx_size":94,
"tx_version":3,
"arq_inputs":0,
"arq_outputs":42187500000
},
]
},
"status":"success"
}
For txprove=0
we check which outputs belong to given address and corresponding viewkey.
For txprove=1
we use to prove to the recipient that we sent them founds.
For this, we use recipient's address and our tx private key as a viewkey value,
i.e., viewkey=<tx_private_key>
Checking outputs:
# we use here official ARQ project's donation address as an example
curl -w "\n" -X GET "https://explorer.arqma.com/api/outputs?txhash=17049bc5f2d9fbca1ce8dae443bbbbed2fc02f1ee003ffdd0571996905faa831&address=RYoLshW4LVn8TurtCrZzAd79FURtPHb93ATRYch3JpSDgvPRubk1VeEKg33sVifjASf7NzZtgQ6urVAAAKDKDtmUiDraNbdDvyk&viewkey=f359631075708155cc3d92a32b75a7d02a5dcf27756707b47a2b31b21c389501&txprove=0"
{
"data": {
"address": "RYoLshW4LVn8TurtCrZzAd79FURtPHb93ATRYch3JpSDgvPRubk1VeEKg33sVifjASf7NzZtgQ6urVAAAKDKDtmUiDraNbdDvyk",
"outputs": [
{
"amount": 34980000000000,
"match": true,
"output_idx": 0,
"output_pubkey": "35d7200229e725c2bce0da3a2f20ef0720d242ecf88bfcb71eff2025c2501fdb"
},
{
"amount": 0,
"match": false,
"output_idx": 1,
"output_pubkey": "44efccab9f9b42e83c12da7988785d6c4eb3ec6e7aa2ae1234e2f0f7cb9ed6dd"
}
],
"tx_hash": "17049bc5f2d9fbca1ce8dae443bbbbed2fc02f1ee003ffdd0571996905faa831",
"tx_prove": false,
"viewkey": "f359631075708155cc3d92a32b75a7d02a5dcf27756707b47a2b31b21c389501"
},
"status": "success"
}
Proving transfer:
We use recipient's address (i.e. not our address from which we sent ARQ to recipient).
For the viewkey, we use tx_private_key
(although the GET variable is still called viewkey
) that we obtained by sending this txs.
curl -w "\n" -X GET "https://explorer.arqma.com/api/outputs?txhash=94782a8c0aa8d8768afa0c040ef0544b63eb5148ca971a024ac402cad313d3b3&address=RYoLshW4LVn8TurtCrZzAd79FURtPHb93ATRYch3JpSDgvPRubk1VeEKg33sVifjASf7NzZtgQ6urVAAAKDKDtmUiDraNbdDvyk&viewkey=e94b5bfc599d2f741d6f07e3ab2a83f915e96fb374dfb2cd3dbe730e34ecb40b&txprove=1"
{
"data": {
"address": "RYoLshW4LVn8TurtCrZzAd79FURtPHb93ATRYch3JpSDgvPRubk1VeEKg33sVifjASf7NzZtgQ6urVAAAKDKDtmUiDraNbdDvyk",
"outputs": [
{
"amount": 1000000000000,
"match": true,
"output_idx": 0,
"output_pubkey": "c1bf4dd020b5f0ab70bd672d2f9e800ea7b8ab108b080825c1d6cfc0b7f7ee00"
},
{
"amount": 0,
"match": false,
"output_idx": 1,
"output_pubkey": "8c61fae6ada2a103565dfdd307c7145b2479ddb1dab1eaadfa6c34db65d189d5"
}
],
"tx_hash": "94782a8c0aa8d8768afa0c040ef0544b63eb5148ca971a024ac402cad313d3b3",
"tx_prove": true,
"viewkey": "e94b5bfc599d2f741d6f07e3ab2a83f915e96fb374dfb2cd3dbe730e34ecb40b"
},
"status": "success"
}
Result analogical to the one above.
curl -w "\n" -X GET "https://explorer.arqma.com/api/networkinfo"
{
"data":{
"alt_blocks_count":9,
"block_size_limit":491520,
"block_size_median":14191,
"cumulative_difficulty":284889040816739,
"current":true,
"current_hf_version":4,
"difficulty":1085277793,
"fee_per_kb":500000,
"grey_peerlist_size":0,
"hash_rate":4521990,
"height":156853,
"incoming_connections_count":12,
"outgoing_connections_count":1,
"stagenet":false,
"start_time":1531440507,
"status":true,
"target":240,
"target_height":156824,
"testnet":false,
"top_block_hash":"f0eb0e43acbd75c040279f847129573aa0d5e43e5d0a13f601ccf04c2fd689a3",
"tx_count":433613,
"tx_pool_size":1,
"tx_pool_size_kbytes":15582,
"white_peerlist_size":1000
},
"status":"success"
}
Search for our outputs in last few blocks (up to 5 blocks), using provided address and viewkey.
curl -w "\n" -X GET https://explorer.arqma.com/api/outputsblocks?address=RYoLshW4LVn8TurtCrZzAd79FURtPHb93ATRYch3JpSDgvPRubk1VeEKg33sVifjASf7NzZtgQ6urVAAAKDKDtmUiDraNbdDvyk&viewkey=807079280293998634d66e745562edaaca45c0a75c8290603578b54e9397e90a&limit=5&mempool=1
Example result:
{
"data": {
"address": "0182d5be0f708cecf2b6f9889738bde5c930fad846d5b530e021afd1ae7e24a687ad50af3a5d38896655669079ad0163b4a369f6c852cc816dace5fc7792b72f",
"height": 960526,
"limit": "5",
"mempool": true,
"outputs": [
{
"amount": 33000000000000,
"block_no": 0,
"in_mempool": true,
"output_idx": 1,
"output_pubkey": "2417b24fc99b2cbd9459278b532b37f15eab6b09bbfc44f9d17e15cd25d5b44f",
"payment_id": "",
"tx_hash": "9233708004c51d15f44e86ac1a3b99582ed2bede4aaac6e2dd71424a9147b06f"
},
{
"amount": 2000000000000,
"block_no": 960525,
"in_mempool": false,
"output_idx": 0,
"output_pubkey": "9984101f5471dda461f091962f1f970b122d4469077aed6b978a910dc3ed4576",
"payment_id": "0000000000000055",
"tx_hash": "37825d0feb2e96cd10fa9ec0b990ac2e97d2648c0f23e4f7d68d2298996acefd"
},
{
"amount": 96947454120000,
"block_no": 960525,
"in_mempool": false,
"output_idx": 1,
"output_pubkey": "e4bded8e2a9ec4d41682a34d0a37596ec62742b28e74b897fcc00a47fcaa8629",
"payment_id": "0000000000000000000000000000000000000000000000000000000000001234",
"tx_hash": "4fad5f2bdb6dbd7efc2ce7efa3dd20edbd2a91640ce35e54c6887f0ee5a1a679"
}
],
"viewkey": "807079280293998634d66e745562edaaca45c0a75c8290603578b54e9397e90a"
},
"status": "success"
}
curl -w "\n" -X GET "https://explorer.arqma.com/api/emission"
{
"data":{
"blk_no":156852,
"coinbase":14364698360000000,
"fee":5547807947200
},
"status":"success"
}
curl -w "\n" -X GET "https://explorer.arqma.com/api/version"
{
"data":{
"api":65536,
"blockchain_height":156853,
"git_branch_name":"templates",
"last_git_commit_date":"2018-07-02",
"last_git_commit_hash":"70be873",
"monero_version_full":"0.2.0.0-fb56bed"
},
"status":"success"
}
api number is store as uint32_t
. In this case 65536
represents
major version 1 and minor version 0.
In JavaScript to get these numbers, one can do as follows:
var api_major = response.data.api >> 16;
var api_minor = response.data.api & 0xffff;
Return raw json block data, as represented in ARQ.
curl -w "\n" -X GET "https://explorer.arqma.com/api/rawblock/150000"
Example result not shown.
Return raw json tx data, as represented in ARQ.
curl -w "\n" -X GET "https://explorer.arqma.com/api/rawtransaction/4307e5619b29dcc1d9cdf4a52b3d0717bcbab0efc06d88fb79a1e0e33594e6ec"
Example result not shown.