Package org.onyx.api
Class ActionSum
java.lang.Object
org.onyx.api.ActionSum
ActionSum objects are what's returned by SumBuilder method in Action class.
Different from other regular API objects, the amount field in ActionSum represents
the summation of the amount fields of those matching actions, and all other fields
represent the parameters by which to group actions.
Please refer to Action class for more details about the SumBuilder method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classIterable interface for consuming individual actions from a query.static classA single page of actions returned from a query. -
Field Summary
FieldsModifier and TypeFieldDescriptionlongSummation of the amount fields of the matching actionsThe ID of the asset of the tokens held by the action.The ID of the destination account affected by the action.A unique ID.A copy of the associated tags (asset, source account, destination account, action, and token) as they existed at the time of the transaction.The ID of the source account executing the action.User-specified key-value data embedded in the action.Time of the action.The ID of the transaction in which the action appears.The type of the action. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
amount
@Expose public long amountSummation of the amount fields of the matching actions -
type
The type of the action. Currently, there are three options: "issue", "transfer", "retire". -
id
A unique ID. -
transactionId
The ID of the transaction in which the action appears. -
timestamp
Time of the action. -
assetId
The ID of the asset of the tokens held by the action. -
sourceAccountId
The ID of the source account executing the action. -
destinationAccountId
The ID of the destination account affected by the action. -
snapshot
A copy of the associated tags (asset, source account, destination account, action, and token) as they existed at the time of the transaction. -
tags
User-specified key-value data embedded in the action.
-
-
Constructor Details
-
ActionSum
public ActionSum()
-