---
title: "Checks the transaction without executing it."
method: GET
path: "/check_tx"
tags: ["Tx"]
---

# Checks the transaction without executing it.

`GET /check_tx`

The transaction won't be added to the mempool.

Please refer to [formatting/encoding rules](https://docs.cometbft.com/v0.38.x/core/using-cometbft.html#formatting)
for additional details

Upon success, the `Cache-Control` header will be set with the default
maximum age.

## Query parameters

- `tx` string, required

## Response `200`

ABCI application's CheckTx response

- CheckTxResponse
  - `error` string, required
  - `result` object, required
    - `code` string, required
    - `data` string, required
    - `log` string, required
    - `info` string
    - `gas_wanted` string
    - `gas_used` string
    - `events` object[], nullable
      - `type` string
      - `attributes` Event[]
        - `key` string
        - `value` string
        - `index` boolean
    - `codespace` string
  - `id` integer, required
  - `jsonrpc` string, required

## Other responses

- `500` — empty error

---

[API](https://skmtc.dev/hetu-project/apis/cometbft-rpc.md) · [All operations](https://skmtc.dev/hetu-project/apis/cometbft-rpc/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hetu-project/cometbft-rpc/revisions/8fdc73beaae2/schema)
