Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildOpenResultMetaXDR ¶
func BuildOpenResultMetaXDR(params OpenResultMetaParams) (string, error)
func BuildResultMetaXDR ¶
func BuildResultMetaXDR(ledgerEntryResults []xdr.LedgerEntryData) (string, error)
BuildResultMetaXDR returns a result meta XDR base64 encoded that contains the input ledger entry changes. Only creates one operation meta for simiplicity.
func BuildResultXDR ¶
BuildResult returns a result XDR base64 encoded that is successful or not based on the input parameter.
Types ¶
type OpenResultMetaParams ¶
type OpenResultMetaParams struct { InitiatorSigner string InitiatorSignerWeight uint32 // Defaults to 1 if not set. ResponderSigner string ResponderSignerWeight uint32 // Defaults to 1 if not set. ExtraSigner string InitiatorChannelAccount string ResponderChannelAccount string Thresholds xdr.Thresholds // Defaults to 0, 2, 2, 2 if not set. StartSequence int64 Asset txnbuild.Asset TrustLineFlag xdr.TrustLineFlags // Defaults to authorized flag. }
Click to show internal directories.
Click to hide internal directories.