Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

Decode Signed XRP TX

node v8.17.0
version: 2.0.0
endpointsharetweet
const codec = require('ripple-binary-codec') const hashes = require('ripple-hashes') const tx = '1200032280000000240000003241833237B8665D2F4E00135E8DE646589F68400000000000000C732103709723A5967EAAED571B71DB511D87FA44CC7CDDF827A37F457A25E14D862BCD74473045022100C6A6999BD33153C6A236D78438D1BFEEEC810CFE05D0E41339B577560C9143CA022074F07881F559F56593FF680049C12FC3BCBB0B73CE02338651522891D95886F981146078086881F39B191D63B528D914FEA7F8CA2293F9EA7C06636C69656E747D15426974686F6D7020746F6F6C20762E20302E302E337E0A706C61696E2F74657874E1F1' let transactionId = hashes.computeBinaryTransactionHash(tx) let transaction = codec.decode(tx) console.log('Transaction ID', transactionId) console.log('Transaction', transaction) // console.log('Transaction (JSON)', JSON.stringify(transaction))
Loading…

no comments

    sign in to comment