Created
March 4, 2021 06:06
-
-
Save adamwhitakerwilson/8a13e45672bfad9d465f768e8c75fb80 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://localhost:8000/v1/1/events/address/0xc0da01a04c3f3e0be433606045bb7017a7323e38/?starting-block=9601459&ending-block=10005000&group={_id:{year:{$year:block_signed_at},month:{$month:block_signed_at},day:{$dayOfMonth:block_signed_at}},totalTxOffset:{$sum:tx_offset},count:{$sum:1}} | |
{ | |
"data": { | |
"updated_at": "2021-03-04T06:03:57.740141Z", | |
"items": [ | |
{ | |
"id": { | |
"year": 2020, | |
"month": 4, | |
"day": 27 | |
}, | |
"count": 23, | |
"totalTxOffset": 1976 | |
}, | |
{ | |
"id": { | |
"year": 2020, | |
"month": 4, | |
"day": 28 | |
}, | |
"count": 13, | |
"totalTxOffset": 1113 | |
}, | |
{ | |
"id": { | |
"year": 2020, | |
"month": 4, | |
"day": 29 | |
}, | |
"count": 12, | |
"totalTxOffset": 711 | |
}, | |
{ | |
"id": { | |
"year": 2020, | |
"month": 4, | |
"day": 30 | |
}, | |
"count": 2, | |
"totalTxOffset": 219 | |
}, | |
{ | |
"id": { | |
"year": 2020, | |
"month": 5, | |
"day": 1 | |
}, | |
"count": 1, | |
"totalTxOffset": 20 | |
}, | |
{ | |
"id": { | |
"year": 2020, | |
"month": 5, | |
"day": 2 | |
}, | |
"count": 1, | |
"totalTxOffset": 90 | |
} | |
], | |
"pagination": null | |
}, | |
"error": false, | |
"error_message": null, | |
"error_code": null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment