1

Given a base64 & XDR encoded transaction, how can I convert this into a transaction object? I already saw this answer, but couldn't find the Transaction.fromEnvelopeXdr(...) method.

1

The method Transaction.fromEnvelopeXdr (seen here) was only introduced in recent months. Check the repository to ensure that you are using the latest version of the SDK.

0
const {Transaction} = require('stellar-base')

const parsedTx = new Transaction('tx_envelope_encoded_as_XDR')
console.log(parsedTx)

This method i used in JS SDK.

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.