Add ability to query for the latest addresses
FEATURE REQUEST
Description of Request
Add a parameter request to get number
addresses from /wallet/address?count={number}
counting backwards from the latest index. If there is a security concern, we can add a hard-limit to the number of addresses that can be queried.
Reason or Need for Feature
Right now the /wallet/address
and /wallet/addresses
endpoints are not very usable for wallet devs. The first generates a new address every-time, and the latter sends a batch of addresses sorted alphanumerically.
The use case is to know what the latest address generated was, and the past few addresses used.
Edited by Eddie Wang