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:
@@ -10,7 +10,7 @@ async function getTransaction(): Promise<void> {
|
||||
transactions: true,
|
||||
ledger_index: 'validated',
|
||||
})
|
||||
console.log(ledger)
|
||||
console.log("Latest validated ledger:", ledger)
|
||||
|
||||
const transactions = ledger.result.ledger.transactions
|
||||
if (transactions) {
|
||||
|
||||
Reference in New Issue
Block a user