0
const envelopeType = StellarSdk.xdr.EnvelopeType.envelopeTypeTx().toXDR();
const signatureBase = Buffer.concat([networkId, envelopeType, txXDR])
const transactionHash = StellarSdk.hash(signatureBase);

networkId = ?

envelopeType = ?

txXDR = ?

What are these variables equal to, example ordinary transaction.

1
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Mar 18 at 15:58

1 Answer 1

0

a = Byte["Public Global Stellar Network ; September 2015"]; b = Byte[TransactionXDR Convert in Byte]; HashTransaction = SHA256(SHA256(a) + b - 4 End Byte);

1
  • As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
    – Community Bot
    Mar 24 at 15:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.