[FEATURE] API for getting addresses of an account

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