fromEnvelopeXdr

Creates an AbstractTransaction from a base64-encoded transaction envelope XDR.

Return

Transaction or FeeBumpTransaction instance

Parameters

envelope

The base64-encoded envelope

network

The network this transaction is for

Throws

if the envelope is malformed or type is unsupported


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

Creates an AbstractTransaction from transaction envelope XDR bytes.

Return

Transaction or FeeBumpTransaction instance

Parameters

envelopeBytes

The XDR envelope bytes

network

The network this transaction is for

Throws

if the envelope type is unsupported


Creates an AbstractTransaction from a TransactionEnvelopeXdr object.

Return

Transaction or FeeBumpTransaction instance

Parameters

envelope

The XDR envelope

network

The network this transaction is for

Throws

if the envelope type is unsupported