[FEATURE] API for getting addresses of an account

__Tasks:__
- [x] gather feedback for my changes
- [x] provide api for getting addresses
- [x] add "flat=true" option for getting a flat representation of an address


__Informations:__

| Q             | A
| ------------- | ---
| Fixed tickets | none
| Doc           | none