package Ġio . h azel net . card ano . connect . controllers Ċ Ċ import Ġio . h azel net . card ano . connect . data . address . Address Details Ċ import Ġio . h azel net . card ano . connect . services . Address Service Ċ import Ġorg . springframework . http . HttpStatus Ċ import Ġorg . springframework . web . bind . annotation .* Ċ Ċ @ RestController Ċ @ RequestMapping ( ("/ wallet s ")) Ċ class ĠAddress Controller ( ĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġwallet Service : ĠAddress Service Ċ ) Ġ{ ĊĠĠĠ Ġ@ GetMapping ("/ { wallet Address }") ĊĠĠĠ Ġ@ ResponseStatus ( HttpStatus . OK ) ĊĠĠĠ Ġfun Ġwallet Info (@ PathVariable Ġwallet Address : ĠString ): ĠAddress Details Ġ= Ġwallet Service . getAddress ( wallet Address ) Ċ }