Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Add delegate forging statistics #318

Closed
ghost opened this issue Nov 27, 2016 · 1 comment
Closed

Add delegate forging statistics #318

ghost opened this issue Nov 27, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 27, 2016

In order to assist with delegate forging reward distribution, I think it would be helpful to extend the delegates forging API endpoint with forging statistics.

GET /api/delegates/forging/delegateStatistics?username=username&day=05&month=05&year=2016
GET /api/delegates/forging/delegateStatistics?username=username&month=05&year=2016
GET /api/delegates/forging/delegateStatistics?username=username&year=2016

{
  "success": true,
  "sum": "Forged amount. Integer"
}
@karmacoma karmacoma changed the title delegate forging statistics Add delegate forging statistics Dec 7, 2016
@dakk
Copy link
Contributor

dakk commented Dec 7, 2016

I think it's better to extend getForgedByAccount with two optional parameters "start" and "end" that indicate the timeslice (in unixtime) of the query

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants