Packages
Low-level elixir library to read, write, hash, and sign XDR primitive constructs used in the Stellar network.
Current section
Files
Jump to
Current section
Files
lib/xdr/transactions/transaction.ex
defmodule Stellar.XDR.Transaction do
@moduledoc """
Representation of Stellar `Transaction` type.
"""
# [WIP] Operations types will be implemented in:
# https://github.com/kommitters/stellar_sdk/issues/12
# alias Stellar.XDR.{
# UInt32,
# MuxedAccount,
# SequenceNumber,
# OptionalTimeBounds,
# Memo,
# Operations,
# TransactionExt
# }
# @behaviour XDR.Declaration
# @struct_spec XDR.Struct.new(
# source_account: MuxedAccount,
# fee: UInt32,
# seq_num: SequenceNumber,
# time_bounds: OptionalTimeBounds,
# memo: Memo,
# # operations: Operations,
# ext: TransactionExt
# )
# defstruct [:source_account, :fee, :seq_num, :time_bounds, :memo, :operations, :ext]
# @impl true
# def encode_xdr(%__MODULE__{}) do
# end
# @impl true
# def encode_xdr!(%__MODULE__{}) do
# end
# @impl true
# def decode_xdr(_bytes, _spec \\ @struct_spec) do
# end
# @impl true
# def decode_xdr!(_bytes, _spec \\ @struct_spec) do
# end
end