Class RawTransaction

java.lang.Object
com.exonum.binding.core.transaction.RawTransaction

public abstract class RawTransaction
extends java.lang.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.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  RawTransaction.Builder  
  • Constructor Summary

    Constructors 
    Constructor Description
    RawTransaction()  
  • Method Summary

    Modifier and Type Method Description
    static RawTransaction fromMessage​(TransactionMessage txMessage)
    Creates a raw transaction from the given transaction message.
    abstract byte[] getPayload()
    Returns the transaction payload which contains actual transaction data.
    abstract int getServiceId()
    Returns a service identifier which the transaction belongs to.
    abstract int getTransactionId()
    Returns the type of this transaction within a service.
    static RawTransaction.Builder newBuilder()
    Returns the new builder for the transaction.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait