mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 11:45:50 +00:00
Update content/_code-samples/get-tx/js/getTransaction.ts
Co-authored-by: Jackson Mills <aim4math@gmail.com>
This commit is contained in:
@@ -18,7 +18,7 @@ async function getTransaction(): Promise<void> {
|
|||||||
command: 'tx',
|
command: 'tx',
|
||||||
transaction: transactions[0],
|
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.
|
// The meta field would be a string(hex) when the `binary` parameter is `true` for the `tx` request.
|
||||||
if (tx.result.meta == null) {
|
if (tx.result.meta == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user