> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# com.daml.ledger.api.v2.interactive

> Package-level overview for com.daml.ledger.api.v2.interactive.

[Back to overview](https://docs.canton.network/reference/protobuf/overview.md)

Protobuf Package

# com.daml.ledger.api.v2.interactive

1 services, 6 endpoints, 27 messages, 1 enums

gRPC

[Methods removed in 3.7.0](#history-removed-3-7-0)

Files
2

Services
1

Endpoints
6

Messages
27

Enums
1

## Source Files

community/ledger-api-proto/src/main/protobuf/com/daml/ledger/api/v2/interactive/interactive\_submission\_common\_data.proto

Last available source file in the compared descriptor snapshots.

Services
0

Messages
2

Enums
0

Source
[community/ledger-api-proto/src/main/protobuf/com/daml/ledger/api/v2/interactive/interactive\_submission\_common\_data.proto](https://github.com/digital-asset/canton/blob/v3.7.5/community/ledger-api-proto/src/main/protobuf/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.proto)

community/ledger-api-proto/src/main/protobuf/com/daml/ledger/api/v2/interactive/interactive\_submission\_service.proto

Last available source file in the compared descriptor snapshots.

Services
1

Messages
20

Enums
1

Source
[community/ledger-api-proto/src/main/protobuf/com/daml/ledger/api/v2/interactive/interactive\_submission\_service.proto](https://github.com/digital-asset/canton/blob/v3.7.5/community/ledger-api-proto/src/main/protobuf/com/daml/ledger/api/v2/interactive/interactive_submission_service.proto)

## InteractiveSubmissionService

Source file
[community/ledger-api-proto/src/main/protobuf/com/daml/ledger/api/v2/interactive/interactive\_submission\_service.proto](https://github.com/digital-asset/canton/blob/v3.7.5/community/ledger-api-proto/src/main/protobuf/com/daml/ledger/api/v2/interactive/interactive_submission_service.proto)

Operations
6

[InteractiveSubmissionService.ExecuteSubmission](https://docs.canton.network/reference/protobuf/operations/com-daml-ledger-api-v2-interactive/interactivesubmissionservice/executesubmission.md)

gRPC

rpc InteractiveSubmissionService.ExecuteSubmission(com.daml.ledger.api.v2.interactive.ExecuteSubmissionRequest) returns (com.daml.ledger.api.v2.interactive.ExecuteSubmissionResp...

Request
com.daml.ledger.api.v2.interactive.ExecuteSubmissionRequest

Response
com.daml.ledger.api.v2.interactive.ExecuteSubmissionResponse

Client stream
No

Server stream
No

[InteractiveSubmissionService.ExecuteSubmissionAndWait](https://docs.canton.network/reference/protobuf/operations/com-daml-ledger-api-v2-interactive/interactivesubmissionservice/executesubmissionandwait.md)

gRPC

rpc InteractiveSubmissionService.ExecuteSubmissionAndWait(com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitRequest) returns (com.daml.ledger.api.v2.interactive.Execute...

Request
com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitRequest

Response
com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitResponse

Client stream
No

Server stream
No

[InteractiveSubmissionService.ExecuteSubmissionAndWaitForTransaction](https://docs.canton.network/reference/protobuf/operations/com-daml-ledger-api-v2-interactive/interactivesubmissionservice/executesubmissionandwaitfortransaction.md)

gRPC

rpc InteractiveSubmissionService.ExecuteSubmissionAndWaitForTransaction(com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitForTransactionRequest) returns (com.daml.ledge...

Request
com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitForTransactionRequest

Response
com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitForTransactionResponse

Client stream
No

Server stream
No

[InteractiveSubmissionService.GetPreferredPackageVersion](https://docs.canton.network/reference/protobuf/operations/com-daml-ledger-api-v2-interactive/interactivesubmissionservice/getpreferredpackageversion.md)

gRPC

Removed in 3.7.0

rpc InteractiveSubmissionService.GetPreferredPackageVersion(com.daml.ledger.api.v2.interactive.GetPreferredPackageVersionRequest) returns (com.daml.ledger.api.v2.interactive.Get...

Request
com.daml.ledger.api.v2.interactive.GetPreferredPackageVersionRequest

Response
com.daml.ledger.api.v2.interactive.GetPreferredPackageVersionResponse

Client stream
No

Server stream
No

[InteractiveSubmissionService.GetPreferredPackages](https://docs.canton.network/reference/protobuf/operations/com-daml-ledger-api-v2-interactive/interactivesubmissionservice/getpreferredpackages.md)

gRPC

rpc InteractiveSubmissionService.GetPreferredPackages(com.daml.ledger.api.v2.interactive.GetPreferredPackagesRequest) returns (com.daml.ledger.api.v2.interactive.GetPreferredPac...

Request
com.daml.ledger.api.v2.interactive.GetPreferredPackagesRequest

Response
com.daml.ledger.api.v2.interactive.GetPreferredPackagesResponse

Client stream
No

Server stream
No

[InteractiveSubmissionService.PrepareSubmission](https://docs.canton.network/reference/protobuf/operations/com-daml-ledger-api-v2-interactive/interactivesubmissionservice/preparesubmission.md)

gRPC

rpc InteractiveSubmissionService.PrepareSubmission(com.daml.ledger.api.v2.interactive.PrepareSubmissionRequest) returns (com.daml.ledger.api.v2.interactive.PrepareSubmissionResp...

Request
com.daml.ledger.api.v2.interactive.PrepareSubmissionRequest

Response
com.daml.ledger.api.v2.interactive.PrepareSubmissionResponse

Client stream
No

Server stream
No

## Type Inventory

These are the last available package-level message and enum shapes. Endpoint pages use the definitions from the last release containing that endpoint.

### com.daml.ledger.api.v2.interactive.CostEstimation

5 fields

`estimation_timestamp`
Timestamp

`confirmation_request_traffic_cost_estimation`
uint64

`confirmation_response_traffic_cost_estimation`
uint64

`total_traffic_cost_estimation`
uint64

`reassignment_costs`
repeated ReassignmentCost

### com.daml.ledger.api.v2.interactive.ReassignmentCost

8 fields

`source_synchronizer_id`
string

`target_synchronizer_id`
string

`contract_ids`
repeated string

`unassignment_request_traffic_cost_estimation`
uint64

`unassignment_response_traffic_cost_estimation`
uint64

`assignment_request_traffic_cost_estimation`
uint64

`assignment_response_traffic_cost_estimation`
uint64

`total_reassignment_cost_estimation`
uint64

### com.daml.ledger.api.v2.interactive.CostEstimationHints

2 fields

`disabled`
bool

`expected_signatures`
repeated SigningAlgorithmSpec

### com.daml.ledger.api.v2.SigningAlgorithmSpec

5 values

<ul>
  <li>`SIGNING_ALGORITHM_SPEC_UNSPECIFIED`</li>

  <li>`SIGNING_ALGORITHM_SPEC_ED25519`</li>

  <li>`SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_256`</li>

  <li>`SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_384`</li>

  <li>`SIGNING_ALGORITHM_SPEC_ML_DSA_65`</li>
</ul>

### com.daml.ledger.api.v2.interactive.DamlTransaction

4 fields

`version`
string

`roots`
repeated string

`nodes`
repeated Node

`node_seeds`
repeated NodeSeed

### com.daml.ledger.api.v2.interactive.DamlTransaction.NodeSeed

2 fields

`node_id`
int32

`seed`
bytes

### com.daml.ledger.api.v2.interactive.DamlTransaction.Node

2 fields

`node_id`
string

`v1`
Node

### com.daml.ledger.api.v2.interactive.transaction.v1.Node

5 fields

`create`
Create

`fetch`
Fetch

`exercise`
Exercise

`rollback`
Rollback

`query_by_key`
QueryByKey

### com.daml.ledger.api.v2.interactive.transaction.v1.Create

8 fields

`lf_version`
string

`contract_id`
string

`package_name`
string

`template_id`
Identifier

`argument`
Value

`signatories`
repeated string

`stakeholders`
repeated string

`key`
GlobalKeyWithMaintainers

### com.daml.ledger.api.v2.Identifier

3 fields

`package_id`
string

`module_name`
string

`entity_name`
string

### com.daml.ledger.api.v2.Value

16 fields

`unit`
Empty

`bool`
bool

`int64`
sint64

`date`
int32

`timestamp`
sfixed64

`numeric`
string

`party`
string

`text`
string

`contract_id`
string

`optional`
Optional

`list`
List

`text_map`
TextMap

`gen_map`
GenMap

`record`
Record

`variant`
Variant

`enum`
Enum

### com.daml.ledger.api.v2.Optional

1 fields

`value`
Value

### com.daml.ledger.api.v2.List

1 fields

`elements`
repeated Value

### com.daml.ledger.api.v2.TextMap

1 fields

`entries`
repeated Entry

### com.daml.ledger.api.v2.TextMap.Entry

2 fields

`key`
string

`value`
Value

### com.daml.ledger.api.v2.GenMap

1 fields

`entries`
repeated Entry

### com.daml.ledger.api.v2.GenMap.Entry

2 fields

`key`
Value

`value`
Value

### com.daml.ledger.api.v2.Record

2 fields

`record_id`
Identifier

`fields`
repeated RecordField

### com.daml.ledger.api.v2.RecordField

2 fields

`label`
string

`value`
Value

### com.daml.ledger.api.v2.Variant

3 fields

`variant_id`
Identifier

`constructor`
string

`value`
Value

### com.daml.ledger.api.v2.Enum

2 fields

`enum_id`
Identifier

`constructor`
string

### com.daml.ledger.api.v2.interactive.GlobalKeyWithMaintainers

2 fields

`key`
GlobalKey

`maintainers`
repeated string

### com.daml.ledger.api.v2.interactive.GlobalKey

4 fields

`template_id`
Identifier

`package_name`
string

`key`
Value

`hash`
bytes

### com.daml.ledger.api.v2.interactive.transaction.v1.Fetch

10 fields

`lf_version`
string

`contract_id`
string

`package_name`
string

`template_id`
Identifier

`signatories`
repeated string

`stakeholders`
repeated string

`acting_parties`
repeated string

`interface_id`
Identifier

`key`
GlobalKeyWithMaintainers

`by_key`
bool

### com.daml.ledger.api.v2.interactive.transaction.v1.Exercise

17 fields

`lf_version`
string

`contract_id`
string

`package_name`
string

`template_id`
Identifier

`signatories`
repeated string

`stakeholders`
repeated string

`acting_parties`
repeated string

`interface_id`
Identifier

`choice_id`
string

`chosen_value`
Value

`consuming`
bool

`children`
repeated string

`exercise_result`
Value

`choice_observers`
repeated string

`key`
GlobalKeyWithMaintainers

`by_key`
bool

`external_call_results`
repeated ExternalCallResult

### com.daml.ledger.api.v2.interactive.transaction.v1.ExternalCallResult

5 fields

`extension_id`
string

`function_id`
string

`config`
bytes

`input`
bytes

`output`
bytes

### com.daml.ledger.api.v2.interactive.transaction.v1.Rollback

1 fields

`children`
repeated string

### com.daml.ledger.api.v2.interactive.transaction.v1.QueryByKey

6 fields

`lf_version`
string

`package_name`
string

`template_id`
Identifier

`exhaustive`
bool

`key`
GlobalKeyWithMaintainers

`result`
repeated string

### com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitForTransactionRequest

9 fields

`prepared_transaction`
PreparedTransaction

`party_signatures`
PartySignatures

`deduplication_duration`
Duration

`deduplication_offset`
int64

`submission_id`
string

`user_id`
string

`hashing_scheme_version`
HashingSchemeVersion

`min_ledger_time`
MinLedgerTime

`transaction_format`
TransactionFormat

### com.daml.ledger.api.v2.interactive.PreparedTransaction

2 fields

`transaction`
DamlTransaction

`metadata`
Metadata

### com.daml.ledger.api.v2.interactive.Metadata

10 fields

`submitter_info`
SubmitterInfo

`synchronizer_id`
string

`mediator_group`
uint32

`transaction_uuid`
string

`preparation_time`
uint64

`input_contracts`
repeated InputContract

`min_ledger_effective_time`
uint64

`max_ledger_effective_time`
uint64

`max_record_time`
uint64

`global_key_mapping`
repeated GlobalKeyMappingEntry

### com.daml.ledger.api.v2.interactive.Metadata.SubmitterInfo

2 fields

`act_as`
repeated string

`command_id`
string

### com.daml.ledger.api.v2.interactive.Metadata.GlobalKeyMappingEntry

2 fields

`key`
GlobalKey

`value`
Value

### com.daml.ledger.api.v2.interactive.Metadata.InputContract

3 fields

`v1`
Create

`created_at`
uint64

`event_blob`
bytes

### com.daml.ledger.api.v2.interactive.PartySignatures

1 fields

`signatures`
repeated SinglePartySignatures

### com.daml.ledger.api.v2.interactive.SinglePartySignatures

2 fields

`party`
string

`signatures`
repeated Signature

### com.daml.ledger.api.v2.Signature

4 fields

`format`
SignatureFormat

`signature`
bytes

`signed_by`
string

`signing_algorithm_spec`
SigningAlgorithmSpec

### com.daml.ledger.api.v2.SignatureFormat

5 values

<ul>
  <li>`SIGNATURE_FORMAT_UNSPECIFIED`</li>

  <li>`SIGNATURE_FORMAT_RAW`</li>

  <li>`SIGNATURE_FORMAT_DER`</li>

  <li>`SIGNATURE_FORMAT_CONCAT`</li>

  <li>`SIGNATURE_FORMAT_SYMBOLIC`</li>
</ul>

### com.daml.ledger.api.v2.interactive.HashingSchemeVersion

4 values

<ul>
  <li>`HASHING_SCHEME_VERSION_UNSPECIFIED`</li>

  <li>`HASHING_SCHEME_VERSION_V2`</li>

  <li>`HASHING_SCHEME_VERSION_V3`</li>

  <li>`HASHING_SCHEME_VERSION_V4`</li>
</ul>

### com.daml.ledger.api.v2.interactive.MinLedgerTime

2 fields

`min_ledger_time_abs`
Timestamp

`min_ledger_time_rel`
Duration

### com.daml.ledger.api.v2.TransactionFormat

2 fields

`event_format`
EventFormat

`transaction_shape`
TransactionShape

### com.daml.ledger.api.v2.EventFormat

3 fields

`filters_by_party`
repeated map

`filters_for_any_party`
Filters

`verbose`
bool

### com.daml.ledger.api.v2.Filters

1 fields

`cumulative`
repeated CumulativeFilter

### com.daml.ledger.api.v2.CumulativeFilter

3 fields

`wildcard_filter`
WildcardFilter

`interface_filter`
InterfaceFilter

`template_filter`
TemplateFilter

### com.daml.ledger.api.v2.WildcardFilter

1 fields

`include_created_event_blob`
bool

### com.daml.ledger.api.v2.InterfaceFilter

3 fields

`interface_id`
Identifier

`include_interface_view`
bool

`include_created_event_blob`
bool

### com.daml.ledger.api.v2.TemplateFilter

2 fields

`template_id`
Identifier

`include_created_event_blob`
bool

### com.daml.ledger.api.v2.TransactionShape

3 values

<ul>
  <li>`TRANSACTION_SHAPE_UNSPECIFIED`</li>

  <li>`TRANSACTION_SHAPE_ACS_DELTA`</li>

  <li>`TRANSACTION_SHAPE_LEDGER_EFFECTS`</li>
</ul>

### com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitForTransactionResponse

1 fields

`transaction`
Transaction

### com.daml.ledger.api.v2.Transaction

12 fields

`update_id`
string

`command_id`
string

`workflow_id`
string

`effective_at`
Timestamp

`events`
repeated Event

`offset`
int64

`synchronizer_id`
string

`trace_context`
TraceContext

`record_time`
Timestamp

`external_transaction_hash`
bytes

`paid_traffic_cost`
int64

`transaction_hash`
bytes

### com.daml.ledger.api.v2.Event

3 fields

`created`
CreatedEvent

`archived`
ArchivedEvent

`exercised`
ExercisedEvent

### com.daml.ledger.api.v2.CreatedEvent

16 fields

`offset`
int64

`node_id`
int32

`contract_id`
string

`template_id`
Identifier

`contract_key`
Value

`contract_key_hash`
bytes

`create_arguments`
Record

`created_event_blob`
bytes

`interface_views`
repeated InterfaceView

`witness_parties`
repeated string

`signatories`
repeated string

`observers`
repeated string

`created_at`
Timestamp

`package_name`
string

`acs_delta`
bool

`representative_package_id`
string

### com.daml.ledger.api.v2.InterfaceView

4 fields

`interface_id`
Identifier

`view_status`
Status

`view_value`
Record

`implementation_package_id`
string

### com.daml.ledger.api.v2.ArchivedEvent

7 fields

`offset`
int64

`node_id`
int32

`contract_id`
string

`template_id`
Identifier

`witness_parties`
repeated string

`package_name`
string

`implemented_interfaces`
repeated Identifier

### com.daml.ledger.api.v2.ExercisedEvent

15 fields

`offset`
int64

`node_id`
int32

`contract_id`
string

`template_id`
Identifier

`interface_id`
Identifier

`choice`
string

`choice_argument`
Value

`acting_parties`
repeated string

`consuming`
bool

`witness_parties`
repeated string

`last_descendant_node_id`
int32

`exercise_result`
Value

`package_name`
string

`implemented_interfaces`
repeated Identifier

`acs_delta`
bool

### com.daml.ledger.api.v2.TraceContext

2 fields

`traceparent`
string

`tracestate`
string

### com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitRequest

8 fields

`prepared_transaction`
PreparedTransaction

`party_signatures`
PartySignatures

`deduplication_duration`
Duration

`deduplication_offset`
int64

`submission_id`
string

`user_id`
string

`hashing_scheme_version`
HashingSchemeVersion

`min_ledger_time`
MinLedgerTime

### com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitResponse

2 fields

`update_id`
string

`completion_offset`
int64

### com.daml.ledger.api.v2.interactive.ExecuteSubmissionRequest

8 fields

`prepared_transaction`
PreparedTransaction

`party_signatures`
PartySignatures

`deduplication_duration`
Duration

`deduplication_offset`
int64

`submission_id`
string

`user_id`
string

`hashing_scheme_version`
HashingSchemeVersion

`min_ledger_time`
MinLedgerTime

### com.daml.ledger.api.v2.interactive.ExecuteSubmissionResponse

0 fields

### com.daml.ledger.api.v2.interactive.GetPreferredPackagesRequest

3 fields

`package_vetting_requirements`
repeated PackageVettingRequirement

`synchronizer_id`
string

`vetting_valid_at`
Timestamp

### com.daml.ledger.api.v2.interactive.PackageVettingRequirement

2 fields

`parties`
repeated string

`package_name`
string

### com.daml.ledger.api.v2.interactive.GetPreferredPackagesResponse

2 fields

`package_references`
repeated PackageReference

`synchronizer_id`
string

### com.daml.ledger.api.v2.PackageReference

3 fields

`package_id`
string

`package_name`
string

`package_version`
string

### com.daml.ledger.api.v2.interactive.PrepareSubmissionRequest

15 fields

`user_id`
string

`command_id`
string

`commands`
repeated Command

`min_ledger_time`
MinLedgerTime

`max_record_time`
Timestamp

`act_as`
repeated string

`read_as`
repeated string

`disclosed_contracts`
repeated DisclosedContract

`synchronizer_id`
string

`package_id_selection_preference`
repeated string

`verbose_hashing`
bool

`prefetch_contract_keys`
repeated PrefetchContractKey

`estimate_traffic_cost`
CostEstimationHints

`hashing_scheme_version`
HashingSchemeVersion

`taps_max_passes`
uint32

### com.daml.ledger.api.v2.Command

4 fields

`create`
CreateCommand

`exercise`
ExerciseCommand

`exercise_by_key`
ExerciseByKeyCommand

`create_and_exercise`
CreateAndExerciseCommand

### com.daml.ledger.api.v2.CreateCommand

2 fields

`template_id`
Identifier

`create_arguments`
Record

### com.daml.ledger.api.v2.ExerciseCommand

4 fields

`template_id`
Identifier

`contract_id`
string

`choice`
string

`choice_argument`
Value

### com.daml.ledger.api.v2.ExerciseByKeyCommand

4 fields

`template_id`
Identifier

`contract_key`
Value

`choice`
string

`choice_argument`
Value

### com.daml.ledger.api.v2.CreateAndExerciseCommand

4 fields

`template_id`
Identifier

`create_arguments`
Record

`choice`
string

`choice_argument`
Value

### com.daml.ledger.api.v2.DisclosedContract

4 fields

`template_id`
Identifier

`contract_id`
string

`created_event_blob`
bytes

`synchronizer_id`
string

### com.daml.ledger.api.v2.PrefetchContractKey

3 fields

`template_id`
Identifier

`contract_key`
Value

`limit`
uint32

### com.daml.ledger.api.v2.interactive.PrepareSubmissionResponse

5 fields

`prepared_transaction`
PreparedTransaction

`prepared_transaction_hash`
bytes

`hashing_scheme_version`
HashingSchemeVersion

`hashing_details`
string

`cost_estimation`
CostEstimation

## History

Methods removed in
`3.7.0`

com.daml.ledger.api.v2.interactive.InteractiveSubmissionService/GetPreferredPackageVersion: Last available in 3.6.4. Retained for historical reference.
