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.
-
-
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. -
-
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.
-
getDigestSettings
@NotNull() abstract Map<String, String> getDigestSettings()
Gets the digest settings used to calculate the transaction hashes.
-
getPlatformVersion
abstract int getPlatformVersion()
Gets the platform version at the time of the creation of the transaction.
-
-
-
-