Package org.onyx.api
Class Transaction.Action
java.lang.Object
org.onyx.api.Transaction.Action
- Enclosing class:
Transaction
An action taken by a transaction.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionlongThe number of asset units issued, transferred, or retired.The id of the action's asset.The ID of the account receiving the asset units.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 account serving as the source of asset units.User-specified, key-value data embedded into the action.The type of the action. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
A unique ID. -
type
The type of the action. Possible values are "issue", "transfer" and "retire". -
assetId
The id of the action's asset. -
snapshot
A copy of the associated tags (asset, source account, destination account, action, and token) as they existed at the time of the transaction. -
amount
@Expose public long amountThe number of asset units issued, transferred, or retired. -
sourceAccountId
The ID of the account serving as the source of asset units. Null for issuances. -
destinationAccountId
The ID of the account receiving the asset units. Null for retirements. -
tags
User-specified, key-value data embedded into the action.
-
-
Constructor Details
-
Action
public Action()
-