Interface TransactionMetadata

  • All Implemented Interfaces:

    @DoNotImplement() 
    public interface TransactionMetadata
    
                        

    This interface represents the metadata governing a transaction, capturing a snapshot of the system and software versions as the transaction was created.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract String getLedgerModel() Gets the ledger model this transaction belongs to.
      abstract int getLedgerVersion() Gets the version of the ledger this transaction was created with.
      abstract String getTransactionSubtype() Gets the transaction subtype.
      abstract Map<String, String> getDigestSettings() Gets the digest settings used to calculate the transaction hashes.
      abstract int getPlatformVersion() Gets the platform version at the time of the creation of the transaction.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getLedgerModel

        @NotNull() abstract String getLedgerModel()

        Gets the ledger model this transaction belongs to.

      • getLedgerVersion

         abstract int getLedgerVersion()

        Gets the version of the ledger this transaction was created with.

      • getTransactionSubtype

        @Nullable() abstract String getTransactionSubtype()

        Gets the transaction subtype. This is ledger specific, check with the documentation of the ledger model you are using.

      • getPlatformVersion

         abstract int getPlatformVersion()

        Gets the platform version at the time of the creation of the transaction.