---
title: "Close TAmm Pool"
method: GET
path: "/tx/tamm/close_order"
tags: ["TAmm"]
---

# Close TAmm Pool

`GET /tx/tamm/close_order`

Creates the transaction to close a TAmm pool

## Query parameters

- `poolAddress` string, required
- `blockhash` string, required
- `compute` integer
- `priorityMicroLamports` integer

## Response `200`

Ok

- TxResponseRest
  - `txs` OnchainTx[], required
    - `tx` string, byte, nullable
    - `txV0` string, byte, required
    - `lastValidBlockHeight` number, double, nullable
    - `metadata` object, nullable
  - `totalCost` number, double, nullable

## Other responses

- `400`
- `422` — Validation Error

---

[API](https://skmtc.net/tensor/apis/trading-api.md) · [All operations](https://skmtc.net/tensor/apis/trading-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tensor/trading-api/versions/9b2ca326bf47/schema)
