Package org.onyx.api
Class Transaction
java.lang.Object
org.onyx.api.Transaction
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn action taken by a transaction.static classA configuration object for creating and submitting transactions.static classIterable interface for consuming individual transactions from a query.static classA builder class for listing transactions in the ledger.static classA single page of transactions returned from a query. -
Field Summary
FieldsModifier and TypeFieldDescriptionList of actions taken by the transaction.A unique ID.longSequence number of the transaction.User-specified key-value data embedded into the transaction.Time of transaction. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
A unique ID. -
timestamp
Time of transaction. -
sequenceNumber
@SerializedName("sequence_number") @Expose public long sequenceNumberSequence number of the transaction. -
actions
List of actions taken by the transaction. -
tags
User-specified key-value data embedded into the transaction.
-
-
Constructor Details
-
Transaction
public Transaction()
-