View Source Stellar.TxBuild.XDR behaviour (Elixir Stellar SDK v0.22.0)

Defines the XDR construction callbacks for the transaction's components.

Summary

Types

@type error() :: {:error, atom()}

Callbacks

@callback new(any(), any()) :: struct() | error()
@callback to_xdr(struct()) :: struct()