---
title: "Executes transaction txName and returns only the result, without writing it to the blockchain."
method: POST
path: "/query/{txName}"
tags: ["Basic Operations"]
---

# Executes transaction txName and returns only the result, without writing it to the blockchain.

`POST /query/{txName}`

## Path parameters

- `txName` string, required

## Request body

- object

## Response `200`

OK

## Other responses

- `4XX` — Bad Request
- `5XX` — Internal error

---

[API](https://skmtc.dev/hyperledger/apis/cc-tools-demo.md) · [All operations](https://skmtc.dev/hyperledger/apis/cc-tools-demo/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hyperledger/cc-tools-demo/revisions/8f40458d8fdf/schema)
