public async Task <IActionResult> CreateWalletAsync()
        {
            WalletCreationResult walletCreationResult = await _walletGeneratorService.CreateWalletAsync();

            await _cache.InvalidateAsync();

            return(Ok(new WalletResponse()
            {
                PublicAddress = walletCreationResult.PublicAddress,
            }));
        }
        public async Task <IActionResult> GetByPublicAddressAsync(string publicAddress)
        {
            WalletCreationResult walletCreationResult = await _walletGeneratorService.GetByPublicAddressAsync(publicAddress);

            if (walletCreationResult == null)
            {
                return(NotFound());
            }

            return(Ok(new WalletResponse()
            {
                PublicAddress = walletCreationResult.PublicAddress,
            }));
        }