This will allow Daedalus (and other clients) to list stake pools, and see where they can delegate too.
Side-note: For this milestone we could only possibly show the id, stake and performance for each pool. In another U/S we will likely add more information once supported by j枚rmungandr.
The pool id should not be confused with the non-unique 3-4-letter ticker. The pool id is a public key.
In the future we could decide to show how many delegation certificates exist delegating to each pool.
Add an API endpoint that wraps the data from #711 and #713.
We should have a response format like this:
[
{
"id": "7d749ef424507fb80fed0d2289d535a94f6870add0cf8b374cfe6cae078320ec",
"metrics": {
"controlled_stake": {
"quantity": 42000000,
"unit": "lovelace"
},
"produced_blocks": {
"quantity": 1337,
"unit": "block"
}
}
}
]
| Number | Base |
| --- | --- |
| #748 | master |
Would be nice to outline the swagger specification in the ticket as a requirement? This gives a really clear indicator of what needs to be implemented :)
From @rvl
Closing this ticket. Remaining work and QA will be tracked in #713
Most helpful comment
From @rvl