CommandService
CommandService defines transactional RPCs that mutate state or perform expensive computations.
Package: thru.services.v1
SendTransaction
Section titled “SendTransaction”Submit a new transaction to the cluster.
- Request:
SendTransactionRequest - Response:
SendTransactionResponse
Try it live thru.services.v1.CommandService/SendTransaction
https://grpc-web.alphanet.thruput.org BatchSendTransactions
Section titled “BatchSendTransactions”Submit multiple transactions to the cluster in batch.
- Request:
BatchSendTransactionsRequest - Response:
BatchSendTransactionsResponse
Try it live thru.services.v1.CommandService/BatchSendTransactions
https://grpc-web.alphanet.thruput.org SendAndTrackTxn (server-stream)
Section titled “SendAndTrackTxn (server-stream)”Submit a transaction and track its execution status. Returns a stream of status updates starting with RECEIVED, then ACCEPTED, followed by consensus and execution updates, closing after the transaction is executed.
- Request:
SendAndTrackTxnRequest - Response:
SendAndTrackTxnResponse
Try it live thru.services.v1.CommandService/SendAndTrackTxn
https://grpc-web.alphanet.thruput.org