public async Task <IActionResult> CreateCheck(CreateCheckRequest request) { var fromAddress = await _walletService.GetWalletAdress(request.CustomerId); var toAddress = await _walletService.GetWalletAdress(request.ToUser); var checkId = await _checkService.CreateCheck(fromAddress, toAddress, request.CheckDate, (uint)request.Amount); var response = new CreateCheckResponse() { CheckId = checkId.ToString() }; return(await Task.FromResult(Ok(response))); }