> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# gettxout | Bitcoin

The `gettxout` method retrieves information about a specific transaction output in the blockchain.

<Check>
  **Get your own node endpoint today**

  [Start for free](https://console.chainstack.com/) and get your app to production levels immediately. No credit card required.

  You can sign up with your GitHub, X, Google, or Microsoft account.
</Check>

## Parameters

* `transaction ID` (required): The ID of the transaction for which to retrieve the output information.

## Response

* `result` — an object containing details about the specified transaction output.
* `error` — an object containing an error message if an error occurred, otherwise `null`.
* `id` — an integer representing the ID of the request.

## Use case

The `gettxout` method is useful for querying specific details about a transaction output, such as its value, script, and more.


## OpenAPI

````yaml /openapi/bitcoin_node_api/gettxout.json POST /788f110831fe13808302bd79796d55e8
openapi: 3.0.0
info:
  title: gettxout example
  version: 1.0.0
  description: >-
    This is an API example for gettxout, a method to get a specific transaction
    output.
servers:
  - url: https://nd-202-842-353.p2pify.com
security: []
paths:
  /788f110831fe13808302bd79796d55e8:
    post:
      tags:
        - Blockchain Operations
      summary: gettxout
      operationId: getTxOut
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  default: '1.0'
                method:
                  type: string
                  default: gettxout
                params:
                  type: array
                  items:
                    type: string
                    description: The transaction ID and index
                    example: >-
                      0bf82c1d62b73497de2d796636cb1ce64415d25982332436007c0f51b5a75a62,
                      1
                  default:
                    - >-
                      0bf82c1d62b73497de2d796636cb1ce64415d25982332436007c0f51b5a75a62
                    - 1
                id:
                  type: integer
                  default: 1
      responses:
        '200':
          description: Information about the specified transaction output
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: object
                    description: Information about the transaction output
                  error:
                    type: object
                  id:
                    type: integer

````