apiv2 code updates

This commit is contained in:
Oliver Eggert
2024-11-09 17:13:13 -08:00
parent 3eb9131cbc
commit b3632c4b85
18 changed files with 39 additions and 65 deletions

View File

@@ -23,7 +23,7 @@ async function main() {
const prepared = await client.autofill({
"TransactionType": "Payment",
"Account": wallet.address,
"Amount": xrpl.xrpToDrops("22"),
"DeliverMax": xrpl.xrpToDrops("22"),
"Destination": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe"
})
const max_ledger = prepared.LastLedgerSequence