Package org.onyx.api

Class Transaction

java.lang.Object
org.onyx.api.Transaction

public class Transaction extends Object
A transaction is an atomic update to the state of the ledger. Transactions can issue new asset units, transfer asset units from one account to another, and/or retire asset units from an account.
  • Field Details

    • id

      @Expose public String id
      A unique ID.
    • timestamp

      @Expose public Date timestamp
      Time of transaction.
    • sequenceNumber

      @SerializedName("sequence_number") @Expose public long sequenceNumber
      Sequence number of the transaction.
    • actions

      @Expose public List<Transaction.Action> actions
      List of actions taken by the transaction.
    • tags

      @Expose public Map<String,Object> tags
      User-specified key-value data embedded into the transaction.
  • Constructor Details

    • Transaction

      public Transaction()