public IActionResult GetTransaction(string hash)
        {
            try
            {
                var foundPendingTran = transactionService.GetPendingTransaction(hash);
                if (foundPendingTran != null)
                {
                    return(Json(foundPendingTran));
                }

                var foundConfirmedTran = blockService.GetConfrimedTransaction(hash);
                if (foundConfirmedTran != null)
                {
                    return(Json(foundConfirmedTran));
                }

                return(NotFound($"Transaction not found"));
            }
            catch (Exception ex)
            {
                return(BadRequest($"Couldn't get transaction: {ex}"));
            }
        }