---
title: "POST /transaction/output"
method: POST
path: "/transaction/output"
---

# POST /transaction/output

`POST /transaction/output`

Get the outputs for given `<tx hash, output index>` pairs

Note: this endpoint only returns txs that are in a block. Use another tool to see mempool for txs not in a block

## Request body

- TransactionOutputRequest
  - `utxoPointers` UtxoPointer[], required
    - `index` number, double, required
    - `txHash` string, required

## Response `200`

- TransactionOutputResponse
  - `utxos` object[], required
    - `index` number, double, required
    - `txHash` string, required
    - `payload` string, required

## Other responses

- `400`
- `428`

## Changes

- **2022-05-10** `f39bef51175a` — 3 breaking, 4 info
  - the `utxos/items/` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the required property `utxos/items/block` from the response with the `200` status
  - removed the required property `utxos/items/utxo` from the response with the `200` status
  - removed the pattern `[0-9a-fA-F]{64}` from the request property `utxoPointers/items/txHash`
  - …3 more

[Change history](https://skmtc.dev/dcspark/apis/carp/changes/transaction/output/post.md)

---

[API](https://skmtc.dev/dcspark/apis/carp.md) · [All operations](https://skmtc.dev/dcspark/apis/carp/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dcspark/carp/revisions/f39bef51175a/schema)
