public string GetImmutableTxId(string txId, bool getSha256Hash)
{
var response = GetRawTransaction(txId, 1);
var text = response.Vin.First().TxId + "|" + response.Vin.First().Vout + "|" + response.Vout.First().Value;
return getSha256Hash ? Hashing.GetSha256(text) : text;
}