Class RawTransaction


  • public abstract class RawTransaction
    extends Object
    An Exonum raw transaction. The raw transaction is different from TransactionMessage as it only includes the serialized transaction parameters and transaction identifiers. Author’s public key is not included but is accessible from the execution context.

    A raw transaction is converted to an executable transaction by the framework using an implementation of TransactionConverter.

    • Constructor Detail

      • RawTransaction

        public RawTransaction()
    • Method Detail

      • getServiceId

        public abstract short getServiceId()
        Returns a service identifier which the transaction belongs to.
        See Also:
        Service.getId()
      • getTransactionId

        public abstract short getTransactionId()
        Returns the type of this transaction within a service. Unique within the service.
        See Also:
        TransactionMessage.getTransactionId()
      • getPayload

        public abstract byte[] getPayload()
        Returns the transaction payload which contains actual transaction data.