Class QxTransferAssetExtraData

java.lang.Object
at.qubic.api.domain.qx.request.QxTransferAssetExtraData
All Implemented Interfaces:
TransactionExtraData

public class QxTransferAssetExtraData extends Object implements TransactionExtraData
  • Field Details

  • Constructor Details

    • QxTransferAssetExtraData

      public QxTransferAssetExtraData()
  • Method Details

    • getAmount

      public long getAmount()
      Description copied from interface: TransactionExtraData
      The amount needed for the transaction. Depending on the extra data different amounts might need to be set.
      Specified by:
      getAmount in interface TransactionExtraData
      Returns:
      the amount that should be set to the transaction. Defaults to 1L.
    • getInputType

      public short getInputType()
      Description copied from interface: TransactionExtraData
      The input type that fits to the transaction extra data.
      Specified by:
      getInputType in interface TransactionExtraData
      Returns:
      the input type of the transctions.
    • toBytes

      public byte[] toBytes()
      Description copied from interface: TransactionExtraData
      Gets the transaction extra data in byte format. This bytes can be directly used for the transaction extra data field.
      Specified by:
      toBytes in interface TransactionExtraData
      Returns:
      the transaction extra data bytes.