Interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse
,InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponse.Builder
- Enclosing class:
- InteractiveSubmissionServiceOuterClass
public static interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional additional details on how the transaction was encoded and hashed.com.google.protobuf.ByteString
Optional additional details on how the transaction was encoded and hashed.The hashing scheme version used when building the hashint
The hashing scheme version used when building the hashThe interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request.com.google.protobuf.ByteString
Hash of the transaction, this is what needs to be signed by the party to authorize the transaction.The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request.boolean
Optional additional details on how the transaction was encoded and hashed.boolean
The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasPreparedTransaction
boolean hasPreparedTransaction()The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request. Clients MUST display the content of the transaction to the user for them to validate before signing the hash if the preparing participant is not trusted.
.com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1 [json_name = "preparedTransaction"];
- Returns:
- Whether the preparedTransaction field is set.
-
getPreparedTransaction
InteractiveSubmissionServiceOuterClass.PreparedTransaction getPreparedTransaction()The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request. Clients MUST display the content of the transaction to the user for them to validate before signing the hash if the preparing participant is not trusted.
.com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1 [json_name = "preparedTransaction"];
- Returns:
- The preparedTransaction.
-
getPreparedTransactionOrBuilder
InteractiveSubmissionServiceOuterClass.PreparedTransactionOrBuilder getPreparedTransactionOrBuilder()The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request. Clients MUST display the content of the transaction to the user for them to validate before signing the hash if the preparing participant is not trusted.
.com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1 [json_name = "preparedTransaction"];
-
getPreparedTransactionHash
com.google.protobuf.ByteString getPreparedTransactionHash()Hash of the transaction, this is what needs to be signed by the party to authorize the transaction. Only provided for convenience, clients MUST recompute the hash from the raw transaction if the preparing participant is not trusted. May be removed in future versions
bytes prepared_transaction_hash = 2 [json_name = "preparedTransactionHash"];
- Returns:
- The preparedTransactionHash.
-
getHashingSchemeVersionValue
int getHashingSchemeVersionValue()The hashing scheme version used when building the hash
.com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 3 [json_name = "hashingSchemeVersion"];
- Returns:
- The enum numeric value on the wire for hashingSchemeVersion.
-
getHashingSchemeVersion
InteractiveSubmissionServiceOuterClass.HashingSchemeVersion getHashingSchemeVersion()The hashing scheme version used when building the hash
.com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 3 [json_name = "hashingSchemeVersion"];
- Returns:
- The hashingSchemeVersion.
-
hasHashingDetails
boolean hasHashingDetails()Optional additional details on how the transaction was encoded and hashed. Only set if verbose_hashing = true in the request Note that there are no guarantees on the stability of the format or content of this field. Its content should NOT be parsed and should only be used for troubleshooting purposes.
optional string hashing_details = 4 [json_name = "hashingDetails"];
- Returns:
- Whether the hashingDetails field is set.
-
getHashingDetails
String getHashingDetails()Optional additional details on how the transaction was encoded and hashed. Only set if verbose_hashing = true in the request Note that there are no guarantees on the stability of the format or content of this field. Its content should NOT be parsed and should only be used for troubleshooting purposes.
optional string hashing_details = 4 [json_name = "hashingDetails"];
- Returns:
- The hashingDetails.
-
getHashingDetailsBytes
com.google.protobuf.ByteString getHashingDetailsBytes()Optional additional details on how the transaction was encoded and hashed. Only set if verbose_hashing = true in the request Note that there are no guarantees on the stability of the format or content of this field. Its content should NOT be parsed and should only be used for troubleshooting purposes.
optional string hashing_details = 4 [json_name = "hashingDetails"];
- Returns:
- The bytes for hashingDetails.
-