View Source StellarBase.XDR.FromAsset (Elixir Stellar Base v0.16.0)

Representation of Stellar FromAsset type.

Summary

Types

@type t() :: %StellarBase.XDR.FromAsset{
  asset: StellarBase.XDR.Asset.t(),
  network_id: StellarBase.XDR.Hash.t()
}

Functions

@spec new(network_id :: StellarBase.XDR.Hash.t(), asset :: StellarBase.XDR.Asset.t()) ::
  t()