private bool ValidateTransaction(TransactionDataSigned signedData)
        {
            TransactionData toValidate  = new TransactionData(signedData);
            var             messageData = JsonConvert.SerializeObject(toValidate);

            // Validate signature
            var senderPublicKey = CryptoUtils.HexToByteArray(signedData.SenderPubKey);
            var senderSignature = CryptoUtils.HexToByteArray(signedData.SenderSignature);
            var messageDataHash = CryptoUtils.GetSha256Bytes(messageData);
            var isTestValid     = CryptoUtils.BouncyCastleVerify(messageDataHash, senderSignature, senderPublicKey);

            return(isTestValid);
        }