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 TypeMethodDescriptionTraffic cost estimation of the prepared transaction OptionalTraffic cost estimation of the prepared transaction OptionalOptional additional details on how the transaction was encoded and hashed.com.google.protobuf.ByteStringOptional additional details on how the transaction was encoded and hashed.The hashing scheme version used when building the hash RequiredintThe hashing scheme version used when building the hash RequiredThe interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request.com.google.protobuf.ByteStringHash 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.booleanTraffic cost estimation of the prepared transaction OptionalbooleanOptional additional details on how the transaction was encoded and hashed.booleanThe interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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. Required
.com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1;- 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. Required
.com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1;- 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. Required
.com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1; -
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 Required: must be non-empty
bytes prepared_transaction_hash = 2;- Returns:
- The preparedTransactionHash.
-
getHashingSchemeVersionValue
int getHashingSchemeVersionValue()The hashing scheme version used when building the hash Required
.com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 3;- Returns:
- The enum numeric value on the wire for hashingSchemeVersion.
-
getHashingSchemeVersion
InteractiveSubmissionServiceOuterClass.HashingSchemeVersion getHashingSchemeVersion()The hashing scheme version used when building the hash Required
.com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 3;- 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
optional string hashing_details = 4;- 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
optional string hashing_details = 4;- 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
optional string hashing_details = 4;- Returns:
- The bytes for hashingDetails.
-
hasCostEstimation
boolean hasCostEstimation()Traffic cost estimation of the prepared transaction Optional
optional .com.daml.ledger.api.v2.interactive.CostEstimation cost_estimation = 5;- Returns:
- Whether the costEstimation field is set.
-
getCostEstimation
InteractiveSubmissionServiceOuterClass.CostEstimation getCostEstimation()Traffic cost estimation of the prepared transaction Optional
optional .com.daml.ledger.api.v2.interactive.CostEstimation cost_estimation = 5;- Returns:
- The costEstimation.
-
getCostEstimationOrBuilder
InteractiveSubmissionServiceOuterClass.CostEstimationOrBuilder getCostEstimationOrBuilder()Traffic cost estimation of the prepared transaction Optional
optional .com.daml.ledger.api.v2.interactive.CostEstimation cost_estimation = 5;
-