Skip to main content

Methods

SendTransaction

Submit a new transaction to the cluster.
request
SendTransactionRequest
Request message type
response
SendTransactionResponse
Response message type

BatchSendTransactions

Submit multiple transactions to the cluster in batch.
request
BatchSendTransactionsRequest
Request message type
response
BatchSendTransactionsResponse
Response message type

SendAndTrackTxn

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
Request message type
response
SendAndTrackTxnResponse
Response message type
This method uses streaming responses.

Messages

BatchSendTransactionsRequest

FieldTypeDescription
raw_transactionsrepeated ``bytesList of raw transaction bytes encoded according to chain specification.
num_retriesint32Number of retries for each transaction if not accepted by UDS (defaults to 0).

BatchSendTransactionsResponse

FieldTypeDescription
signaturesrepeated ``thru.common.v1.SignatureSignatures for each transaction (in same order as request).
acceptedrepeated ``boolAcceptance status for each transaction (true if accepted, false if not).

SendAndTrackTxnRequest

FieldTypeDescription
transactionbytesRaw transaction bytes encoded according to chain specification.
timeoutgoogle.protobuf.DurationOptional timeout for tracking the transaction execution. If not specified, the stream will remain open until the transaction is executed or the client cancels.

SendAndTrackTxnResponse

FieldTypeDescription
statusSubmissionStatusCurrent submission status of the transaction.
signaturethru.common.v1.SignatureTransaction signature (populated for tracking messages).
consensus_statusthru.common.v1.ConsensusStatusConsensus status (populated for tracking messages).
execution_resultthru.core.v1.TransactionExecutionResultExecution result (populated for tracking messages when execution completes).

SendTransactionRequest

FieldTypeDescription
raw_transactionbytesRaw transaction bytes encoded according to chain specification.

SendTransactionResponse

FieldTypeDescription
signaturethru.common.v1.Signature

Enums

SubmissionStatus

SubmissionStatus represents the status of a transaction in the submission pipeline.
ValueNumberDescription
SUBMISSION_STATUS_UNSPECIFIED0Submission status is unspecified (default value).
SUBMISSION_STATUS_RECEIVED1Transaction has been received by the gRPC server.
SUBMISSION_STATUS_ACCEPTED2Transaction has been accepted by the forwarder via UDS.