Package org.onyx.api
Class TokenSum
java.lang.Object
org.onyx.api.TokenSum
TokenSum objects are what is returned by SumBuilder method in Token class.
Different from other regular API objects, the amount field in TokenSum
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 Token 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 TypeFieldDescriptionThe ID of the account containing the tokens.The tags of the account containing the tokens.longThe amount of tokens in the group.The asset of the tokens in the group.The tags of the asset of the tokens in the group.The tags of the tokens in the group. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
amount
@Expose public long amountThe amount of tokens in the group. -
assetId
The asset of the tokens in the group. -
assetTags
The tags of the asset of the tokens in the group. -
accountId
The ID of the account containing the tokens. -
accountTags
The tags of the account containing the tokens. -
tags
The tags of the tokens in the group.
-
-
Constructor Details
-
TokenSum
public TokenSum()
-