View Source StellarBase.XDR.Operations.SimplePaymentResult (Elixir Stellar Base v0.11.0)

Representation of Stellar SimplePaymentResult type.

Link to this section Summary

Link to this section Types

@type t() :: %StellarBase.XDR.Operations.SimplePaymentResult{
  amount: StellarBase.XDR.Int64.t(),
  asset: StellarBase.XDR.Asset.t(),
  destination: StellarBase.XDR.AccountID.t()
}

Link to this section Functions

Link to this function

new(destination, asset, amount)

View Source
@spec new(
  destination :: StellarBase.XDR.AccountID.t(),
  asset :: StellarBase.XDR.Asset.t(),
  amount :: StellarBase.XDR.Int64.t()
) :: t()