Open Zolpho opened 2 years ago
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
Please add the information about the unbonding period in API (/addresses/balance/details/address) Something like:
"unbonding_block_start" : "unbonding_block_end" :