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

@@ -128,7 +128,7 @@ async function sendXRP() {
const prepared = await client.autofill({
"TransactionType": "Payment",
"Account": standby_wallet.address,
"Amount": xrpl.xrpToDrops(sendAmount),
"DeliverMax": xrpl.xrpToDrops(sendAmount),
"Destination": standbyDestinationField.value
})
@@ -178,7 +178,7 @@ async function oPsendXRP() {
const prepared = await client.autofill({
"TransactionType": "Payment",
"Account": operational_wallet.address,
"Amount": xrpl.xrpToDrops(operationalAmountField.value),
"DeliverMax": xrpl.xrpToDrops(operationalAmountField.value),
"Destination": operationalDestinationField.value
})