Package org.onyx.api

Class Transaction.Action

java.lang.Object
org.onyx.api.Transaction.Action
Enclosing class:
Transaction

public static class Transaction.Action extends Object
An action taken by a transaction.
  • Field Details

    • id

      @Expose public String id
      A unique ID.
    • type

      @Expose public String type
      The type of the action. Possible values are "issue", "transfer" and "retire".
    • assetId

      @SerializedName("asset_id") @Expose public String assetId
      The id of the action's asset.
    • snapshot

      @SerializedName("snapshot") @Expose public Transaction.Action.Snapshot 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 amount
      The number of asset units issued, transferred, or retired.
    • sourceAccountId

      @SerializedName("source_account_id") @Expose public String sourceAccountId
      The ID of the account serving as the source of asset units. Null for issuances.
    • destinationAccountId

      @SerializedName("destination_account_id") @Expose public String destinationAccountId
      The ID of the account receiving the asset units. Null for retirements.
    • tags

      @SerializedName("tags") @Expose public Map<String,Object> tags
      User-specified, key-value data embedded into the action.
  • Constructor Details

    • Action

      public Action()