Update content/_code-samples/get-tx/js/getTransaction.ts

Co-authored-by: Jackson Mills <aim4math@gmail.com>
This commit is contained in:
pdp2121
2023-01-31 11:59:20 -05:00
committed by GitHub
parent edccd1756e
commit 1fcbb3a5fc

View File

@@ -18,7 +18,7 @@ async function getTransaction(): Promise<void> {
command: 'tx',
transaction: transactions[0],
})
console.log(tx)
console.log("Response from 'tx' request:", tx)
// The meta field would be a string(hex) when the `binary` parameter is `true` for the `tx` request.
if (tx.result.meta == null) {