This method first searches the transaction pool and then tries the block store.
Requires txindex=1, otherwise only transactions that spend or create UTXOs for a stored wallet can be returned.
Returns the transaction
const response = await fetch('https://strax.nownodes.io/api/Node/getrawtransaction', { method: 'GET', headers: {}, }); const data = await response.json();