title: How do I find a transaction by txID (node.js)
body: <p>How do I find a transaction by txID? In version 1.4(Fabric Node SDK) there was a queryTransaction method, but in 2.0 it is not, is there any replacement for it?</p>
  
  <p>P.S I tried to get the transaction this way, but I get nothing</p>
  
  <pre><code>const result = await ctx.stub.getState(txId)
  </code></pre>