---
title: "GET /v1/indexer/tx/{txid}/outs"
method: GET
path: "/v1/indexer/tx/{txid}/outs"
tags: ["Transactions"]
---

# GET /v1/indexer/tx/{txid}/outs

`GET /v1/indexer/tx/{txid}/outs`

## Request

- Base URL: `https://open-api.unisat.io`
- URL: `https://open-api.unisat.io/v1/indexer/tx/{txid}/outs`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/unisat/apis/unisat-wallet-openapi/docs/v1/indexer/tx/:txid/outs/get.ts> (a function with typed inputs; its response is checked against the schema)

Get the outputs of a tx.

## Path parameters

- `txid` string, required

## Query parameters

- `cursor` integer, required
- `size` integer, required

## Response `200`

Successful operation

- object
  - `code` 0 | -1
  - `msg` string
  - `data` object
    - `address` string
    - `codeType` integer
    - `inscriptions` InscriptionItem[]
      - `inscriptionId` string
      - `inscriptionNumber` integer
      - `isBRC20` boolean
      - `moved` boolean
      - `offset` integer
    - `satoshi` integer
    - `scriptPk` string
    - `scriptType` string
    - `height` integer
    - `txid` string
    - `idx` integer
    - `heightSpent` integer
    - `txidSpent` string
    - `vout` integer

## Other responses

- `401`: Invalid API Key

---

[API](https://skmtc.dev/unisat/apis/unisat-wallet-openapi.md) - [All operations](https://skmtc.dev/unisat/apis/unisat-wallet-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/unisat/apis/unisat-wallet-openapi/revisions/68de350419c7?raw)
