Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unbonding period information #143

Open
Zolpho opened this issue Apr 15, 2022 · 1 comment
Open

Unbonding period information #143

Zolpho opened this issue Apr 15, 2022 · 1 comment

Comments

@Zolpho
Copy link

Zolpho commented Apr 15, 2022

Please add the information about the unbonding period in API (/addresses/balance/details/address)
Something like:

"unbonding_block_start" :
"unbonding_block_end" :

@jasny
Copy link
Member

jasny commented Apr 15, 2022

It's not so straightforward. Each canceled lease will start unbending the leased amount. So some LTO might be released in 100 blocks, while more LTO is released after 2000 blocks.

Instead, we must add a new endpoint /addresses/balance/unbonding, which returns a list of amounts and blocks.

Currently the way unbonding is stored, this isn't supported. So the internal structure needs to change.

Related to #137

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

No branches or pull requests

2 participants