> ## Documentation Index
> Fetch the complete documentation index at: https://cantonfoundation-update-ref-tables.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CommandSubmissionServiceGrpc

> Allows clients to attempt advancing the ledger's state by submitting commands. The final states of their submissions are disclosed by the Command Completion Service. The on-ledger effects of their submissions are disclosed by the Update Service. Commands may fail in 2 distinct manners: 1. Failure communicated synchronously in the gRPC error of the submission. 2. Failure communicated asynchronously in a Completion, see ``completion.proto``. Note that not only successfully submitted commands MAY produce a completion event. For example, the participant MAY choose to produce a completion event for a rejection of a duplicate command. Clients that do not receive a successful completion about their submission MUST NOT assume that it was successful. Clients SHOULD subscribe to the CompletionStream before starting to submit commands to prevent race conditions.

## CommandSubmissionServiceGrpc

Upstream docs: [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/CommandSubmissionServiceGrpc.html)

**Signature**

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
@Generated(value="by gRPC proto compiler (version 1.60.2)", comments="Source: com/daml/ledger/api/v2/command_submission_service.proto") public final class CommandSubmissionServiceGrpc extends Object
```

**Members**

| Docs                                                                                                                                                                                                   | Member                                                   | Introduced | Deprecated | Removed |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------- | ---------- | ---------- | ------- |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/CommandSubmissionServiceGrpc.html#SERVICE_NAME)                                                                      | `SERVICE_NAME`                                           | `3.5.6`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/CommandSubmissionServiceGrpc.html#bindService%28com.daml.ledger.api.v2.CommandSubmissionServiceGrpc.AsyncService%29) | `bindService(CommandSubmissionServiceGrpc.AsyncService)` | `3.5.6`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/CommandSubmissionServiceGrpc.html#getServiceDescriptor%28%29)                                                        | `getServiceDescriptor()`                                 | `3.5.6`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/CommandSubmissionServiceGrpc.html#getSubmitMethod%28%29)                                                             | `getSubmitMethod()`                                      | `3.5.6`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/CommandSubmissionServiceGrpc.html#getSubmitReassignmentMethod%28%29)                                                 | `getSubmitReassignmentMethod()`                          | `3.5.6`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/CommandSubmissionServiceGrpc.html#newBlockingStub%28io.grpc.Channel%29)                                              | `newBlockingStub(Channel)`                               | `3.5.6`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/CommandSubmissionServiceGrpc.html#newFutureStub%28io.grpc.Channel%29)                                                | `newFutureStub(Channel)`                                 | `3.5.6`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/api/v2/CommandSubmissionServiceGrpc.html#newStub%28io.grpc.Channel%29)                                                      | `newStub(Channel)`                                       | `3.5.6`    | -          | -       |
