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

@@ -15,7 +15,7 @@ const txJSON = {
"Account": my_wallet.address,
"TransactionType":"Payment",
"Destination":"rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn",
"Amount":"13000000",
"DeliverMax":"13000000",
"Flags":2147483648,
"LastLedgerSequence":7835923, // Optional, but recommended.
"Fee":"13",
@@ -25,4 +25,4 @@ const txJSON = {
const signed = my_wallet.sign(txJSON)
console.log("tx_blob is:", signed.tx_blob)
console.log("tx hash is:", signed.hash)
console.log("tx hash is:", signed.tx_json.hash)