View Source Stellar.TxBuild.TransactionEnvelope (Elixir Stellar SDK v0.22.0)

TransactionEnvelope struct definition.

Summary

Types

@type network_passphrase() :: String.t()
@type signatures() :: [Stellar.TxBuild.Signature.t()]
@type t() :: %Stellar.TxBuild.TransactionEnvelope{
  network_passphrase: term(),
  signatures: signatures(),
  tx: Stellar.TxBuild.Transaction.t()
}
@type tx_base64() :: String.t()

Functions

Link to this function

add_signature(tx_base64, signature, network_passphrase)

View Source
@spec add_signature(
  tx_base64 :: tx_base64(),
  signature :: Stellar.TxBuild.Signature.t(),
  network_passphrase :: network_passphrase()
) :: StellarBase.XDR.TransactionEnvelope.t()
@spec from_base64(tx_base64 :: tx_base64()) :: StellarBase.XDR.TransactionEnvelope.t()
Link to this function

to_base64(tx_envelope_xdr)

View Source
@spec to_base64(tx_envelope_xdr :: StellarBase.XDR.TransactionEnvelope.t()) ::
  String.t()