fromEnvelopeXdr

fun fromEnvelopeXdr(envelope: String, network: Network): Transaction

Creates a Transaction from a base64-encoded transaction envelope XDR.

Return

The Transaction instance

Parameters

envelope

The base64-encoded envelope

network

The network this transaction is for

Throws

if the envelope is malformed


fun fromEnvelopeXdr(envelopeBytes: ByteArray, network: Network): Transaction

Creates a Transaction from transaction envelope XDR bytes.

Return

The Transaction instance

Parameters

envelopeBytes

The XDR envelope bytes

network

The network this transaction is for

Throws

if the envelope is malformed