---
title: "Returns with the responses from CheckTx and DeliverTx."
method: GET
path: "/broadcast_tx_commit"
tags: ["Tx"]
---

# Returns with the responses from CheckTx and DeliverTx.

`GET /broadcast_tx_commit`

IMPORTANT: use only for testing and development. In production, use
BroadcastTxSync or BroadcastTxAsync. You can subscribe for the transaction
result using JSONRPC via a websocket. See
https://docs.tendermint.com/v0.34/app-dev/subscribing-to-events-via-websocket.html

CONTRACT: only returns error if mempool.CheckTx() errs or if we timeout
waiting for tx to commit.

If CheckTx or DeliverTx fail, no error will be returned, but the returned result
will contain a non-OK ABCI code.

Please refer to
https://docs.tendermint.com/v0.34/tendermint-core/using-tendermint.html#formatting
for formatting/encoding rules.

## Query parameters

- `tx` string, required

## Response `200`

empty answer

- BroadcastTxCommitResponse
  - `error` string, required
  - `result` object, required
    - `height` string, required
    - `hash` string, required
    - `deliver_tx` object, required
      - `log` string, required
      - `data` string, required
      - `code` string, required
    - `check_tx` object, required
      - `log` string, required
      - `data` string, required
      - `code` string, required
  - `id` integer, required
  - `jsonrpc` string, required

## Other responses

- `500` — empty error

---

[API](https://skmtc.net/finschia/apis/ostracon-rpc.md) · [All operations](https://skmtc.net/finschia/apis/ostracon-rpc/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/finschia/ostracon-rpc/versions/f8b90bf02ef4/schema)
