readme updated

This commit is contained in:
moneroexamples 2017-05-11 10:52:43 +08:00
parent a2505b7db6
commit bb213e3692
1 changed files with 26 additions and 18 deletions

View File

@ -393,28 +393,36 @@ Partial results shown:
```json ```json
{ {
"data": [ "data": {
{ "limit": 100000000,
"coinbase": false, "page": 0,
"extra": "02210001c32d313b74a859b904079c69dbc04ea6e37eddcf4aeb34e9400cc12831da5401b34082a9ff7476fe29a19fa6a1735a9c59db226b9ddcf715928aa71625b13062", "total_page_no": 0,
"mixin": 7, "txs": [
"payment_id": "01c32d313b74a859b904079c69dbc04ea6e37eddcf4aeb34e9400cc12831da54", {
"payment_id8": "", "coinbase": false,
"rct_type": 1, "extra": "022100325f677d96f94155a4840a84d8e0c905f7a4697a25744633bcb438feb1e51fb2012eda81bf552c53c2168f4130dbe0265c3a7898f3a7eee7c1fed955a778167b5d",
"timestamp": 1492763220, "mixin": 3,
"timestamp_utc": "2017-04-21 08:27:00", "payment_id": "325f677d96f94155a4840a84d8e0c905f7a4697a25744633bcb438feb1e51fb2",
"tx_fee": 4083040000, "payment_id8": "",
"tx_hash": "6751e0029558fdc4ab4528896529e32b2864c6ad43c5d8838c8ebe156ada0514", "rct_type": 2,
"tx_size": 13224, "timestamp": 1494470894,
"tx_version": 2, "timestamp_utc": "2017-05-11 02:48:14",
"xmr_inputs": 0, "tx_fee": 15894840000,
"xmr_outputs": 0 "tx_hash": "9f3374f8ac67febaab153eab297937a3d0d2c706601e496bf5028146da0c9aef",
} "tx_size": 13291,
], "tx_version": 2,
"xmr_inputs": 0,
"xmr_outputs": 0
}
],
"txs_no": 7
},
"status": "success" "status": "success"
} }
``` ```
Limit of 100000000 is just default value above to ensure that all mempool txs are fetched
if no specific limit given.
#### api/mempool?limit=<no_of_top_txs> #### api/mempool?limit=<no_of_top_txs>