/** * @param WalletId $walletId * @return \string[] */ public function getAddresses(WalletId $walletId) { $wallet = $this->walletRepository->walletOfId($walletId); $addresses = $this->blockCypherWalletService->getWalletAddresses($wallet->getId()->getValue(), $wallet->getCoinSymbol(), $wallet->getToken()); return $addresses; }