fromEnvelopeXdrString method
Creates a Transaction instance from an xdr envelope
string representing a TransactionEnvelope.
Implementation
static AbstractTransaction fromEnvelopeXdrString(
String envelope, Network network) {
Uint8List bytes = base64Decode(envelope);
XdrTransactionEnvelope transactionEnvelope =
XdrTransactionEnvelope.decode(XdrDataInputStream(bytes));
return fromEnvelopeXdr(transactionEnvelope, network);
}