Get transaction by hash
Get transaction info from blockchain using the transaction hash (transaction id).
sdk.transaction.getTransactionByHash(opts)
sdk.transaction.getTransactionByHash(opts)- opts.hash(string)(required) - transaction hash.
- opts.protocol(string)(required) - blockchain protocol.
const tx = await sdk.transaction.getTransactionByHash({ hash: '<hash>', protocol: 'STELLAR' })
// Blockchain raw transaction returnedLast updated
