mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-25 14:15:50 +00:00
apiv2 code updates
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user