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

Automatically generated by xdrgen DO NOT EDIT or your changes may be overwritten

Target implementation: elixir_xdr at https://hex.pm/packages/elixir_xdr

Representation of Stellar OptionalHash type.

Summary

Types

@type hash() :: StellarBase.XDR.Hash.t() | nil
@type t() :: %StellarBase.XDR.OptionalHash{hash: hash()}

Functions

@spec new(hash :: hash()) :: t()