vacuumlabs / adalite-backend-service

Icarus, a reference implementation for a lightweight wallet developed by the IOHK Engineering Team.
Apache License 2.0
2 stars 7 forks source link

get accountDbId given an address #94

Closed roccomuso closed 4 years ago

roccomuso commented 4 years ago

Is there an API to get the accountDbId given an address?

xdzurman commented 4 years ago

@roccomuso Here: https://github.com/vacuumlabs/adalite-backend-service/blob/shelley-hard-fork/src/db-api.js#L260 in the db-api. "account" represents staking address everywhere, this comes from the naming in the ITN era, I plan to rename it though to avoid confusion. It does not have an endpoint however, do you need it as an endpoint?

roccomuso commented 4 years ago

Yeah I saw that, but it's not exposed as a REST api, that would be great

xdzurman commented 4 years ago

Sorry, what would you need it for?

roccomuso commented 4 years ago

No need for it anymore. The other API are enough