Get Transaction Status by Transaction Hash

get

/v1/besu/transaction/by-hash/{txHash}

Returns a transaction operation for the specified transaction hash.
  • The response includes receipt: null until a receipt is available.
  • When available, receipt contains a redacted receipt summary.
  • receiptDetail=full includes the current Besu receipt in rawReceipt for the same transaction operation.
  • With receiptDetail=full, X-Besu-Node selects the Besu node used for the live receipt lookup.
  • The operation is available only to the authenticated caller that created it. Requests for operations created by other callers return HTTP 404.

Request

Path Parameters
Query Parameters
  • Defaults to summary. Set to full to include the current Besu transaction receipt in rawReceipt.
    Default Value: summary
    Allowed Values: [ "summary", "full" ]
Header Parameters
  • Optional operator-defined Besu node identifier used only when receiptDetail=full. Supported values include rpc-0, rpc-1, archive-0, validator-0, and bootnode-0.
  • Optional correlation ID. Echoed in the response when provided.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Returns the current transaction status.
Body ()
Root Schema : TransactionOperationStatusResponse
Type: object
Current status of a tracked transaction operation.
Show Source
Nested Schema : TransactionBroadcastStatus
Type: object
Summary of transaction broadcast progress.
Show Source
Nested Schema : callbacks
Type: array
Redacted callback delivery state for the operation. Callback target URLs, OAuth credentials, TLS private keys, payload bodies, and raw callback errors are excluded.
Show Source
Nested Schema : TransactionAttemptSummary
Type: object
Summary of a transaction submission attempt.
Show Source
Nested Schema : rawReceipt
Type: object
Additional Properties Allowed: true
Complete transaction receipt returned by Besu. Available only for by-hash lookups with `receiptDetail=full`; it can include receipt logs and topics.
Nested Schema : TransactionCallbackDelivery
Type: object
Redacted callback delivery status for a tracked transaction.
Show Source
Examples

400 Response

Validation failed.
Body ()
Root Schema : ErrorResponse
Type: object
Error response returned by the service.
Show Source
Nested Schema : upstreamError
Type: object
Additional Properties Allowed: true
Complete error object returned by the Besu node, including code, message, and data fields, when available.
Examples

404 Response

Transaction operation not found.
Body ()
Root Schema : ErrorResponse
Type: object
Error response returned by the service.
Show Source
Nested Schema : upstreamError
Type: object
Additional Properties Allowed: true
Complete error object returned by the Besu node, including code, message, and data fields, when available.

502 Response

Requested receipt is unavailable.
Body ()
Root Schema : ErrorResponse
Type: object
Error response returned by the service.
Show Source
Nested Schema : upstreamError
Type: object
Additional Properties Allowed: true
Complete error object returned by the Besu node, including code, message, and data fields, when available.
Examples

503 Response

Transaction lifecycle service is unavailable.
Body ()
Root Schema : ErrorResponse
Type: object
Error response returned by the service.
Show Source
Nested Schema : upstreamError
Type: object
Additional Properties Allowed: true
Complete error object returned by the Besu node, including code, message, and data fields, when available.
Back to Top