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

# Retrieve a Transaction

> The single transaction endpoint provides information on a specific transaction.

The single transaction endpoint provides information on a specific transaction.

This method will use `20` [Compute Units](/nodeapi/about/billing).

***

## Reference: [Here](https://developers.stellar.org/docs/data/apis/horizon/api-reference/retrieve-a-transaction)


## OpenAPI

````yaml nodeapi/openapi/horizon-openapi-vc.json GET /transactions/{transaction_hash}
openapi: 3.0.3
info:
  title: Horizon
  version: 0.0.1
servers:
  - url: https://mainnet.stellar.validationcloud.io/v1/<YOUR_API_KEY_HERE>
    description: The Pubnet Network
security: []
tags:
  - name: Accounts
    description: >-
      Users interact with the Stellar network through accounts. Everything else
      in the ledger—assets, offers, trustlines, etc. are owned by accounts, and
      accounts must authorize all changes to the ledger through signed
      transactions.
  - name: Assets
    description: >-
      Assets are representations of value issued on the Stellar network. An
      asset consists of a type, code, and issuer.
  - name: Claimable Balances
    description: >-
      A Claimable Balance represents the transfer of ownership of some amount of
      an asset. Claimable balances provide a mechanism for setting up a payment
      which can be claimed in the future. This allows you to make payments to
      accounts which are currently not able to accept them.
  - name: Effects
    description: >-
      Effects represent specific changes that occur in the ledger as a result of
      successful operations, but are not necessarily directly reflected in the
      ledger or history, as transactions and operations are.
  - name: Fee Stats
    description: >-
      Fee stats are used to predict what fee to set for a transaction before
      submitting it to the network.
  - name: Liquidity Pools
    description: >-
      Liquidity Pools provide a simple, non-interactive way to trade large
      amounts of capital and enable high volumes of trading.
  - name: Ledgers
    description: >-
      Each ledger stores the state of the network at a point in time and
      contains all the changes - transactions, operations, effects, etc. - to
      that state.
  - name: Offers
    description: >-
      Offers are statements about how much of an asset an account wants to buy
      or sell.
  - name: Order Books
    description: An order book is a collections of offers for a specific pair of assets.
  - name: Trade Aggregations
    description: >-
      A trade aggregation represents aggregated statistics on an asset pair
      (base and counter) for a specific time period. Trade aggregations are
      useful to developers of trading clients and provide historical trade data.
  - name: Trades
    description: >-
      When an offer is fully or partially fulfilled, a trade happens. Trades can
      also be caused by successful path payments, because path payments involve
      fulfilling offers. A trade occurs between two parties—base and counter.
      Which is which is either arbitrary or determined by the calling query.
  - name: Transactions
    description: >-
      Transactions are commands that modify the ledger state and consist of one
      or more operations.
paths:
  /transactions/{transaction_hash}:
    get:
      tags:
        - Transactions
      summary: Retrieve a Transaction
      description: >-
        The single transaction endpoint provides information on a specific
        transaction.
      operationId: RetrieveATransaction
      parameters:
        - $ref: '#/components/parameters/HashParam'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/schemas-Transaction'
              examples:
                RetrieveATransaction:
                  $ref: '#/components/examples/RetrieveATransaction'
components:
  parameters:
    HashParam:
      name: transaction_hash
      in: path
      required: true
      description: >-
        Transactions are commands that modify the ledger state and consist of
        one or more operations.
      schema:
        type: string
        example: 5ebd5c0af4385500b53dd63b0ef5f6e8feef1a7e1c86989be3cdcce825f3c0cc
  schemas:
    schemas-Transaction:
      type: object
      properties:
        _links:
          type: object
          properties:
            self:
              $ref: '#/components/schemas/link'
            account:
              $ref: '#/components/schemas/link'
            ledger:
              $ref: '#/components/schemas/link'
            operations:
              $ref: '#/components/schemas/link'
            effects:
              $ref: '#/components/schemas/link'
            precedes:
              $ref: '#/components/schemas/link'
            succeeds:
              $ref: '#/components/schemas/link'
          required:
            - self
            - account
            - ledger
            - operations
            - effects
            - precedes
            - succeeds
        id:
          $ref: '#/components/schemas/id'
        paging_token:
          type: string
        successful:
          type: boolean
        hash:
          type: string
        ledger:
          type: integer
          format: int32
        created_at:
          type: string
        source_account:
          $ref: '#/components/schemas/address'
        account_muxed:
          type: string
        account_muxed_id:
          type: string
        source_account_sequence:
          type: string
        fee_account:
          $ref: '#/components/schemas/address'
        fee_account_muxed:
          $ref: '#/components/schemas/address'
        fee_account_muxed_id:
          type: string
        fee_charged:
          type: string
        max_fee:
          type: string
        operation_count:
          type: integer
          format: int32
        envelope_xdr:
          type: string
        result_xdr:
          type: string
        result_meta_xdr:
          type: string
        fee_meta_xdr:
          type: string
        memo_type:
          type: string
        signatures:
          $ref: '#/components/schemas/signatures'
    link:
      type: object
      properties:
        href:
          type: string
          format: link
        templated:
          type: boolean
      required:
        - href
    id:
      type: string
    address:
      type: string
      pattern: G[A-Z0-9]{55}
    signatures:
      type: array
      items:
        type: string
        pattern: G[A-Z0-9]{55}
  examples:
    RetrieveATransaction:
      value:
        _links:
          self:
            href: >-
              https://horizon-testnet.stellar.org/transactions/5ebd5c0af4385500b53dd63b0ef5f6e8feef1a7e1c86989be3cdcce825f3c0cc
          account:
            href: >-
              https://horizon-testnet.stellar.org/accounts/GDI5EK4HNMBHJJQGP3GUXQJIIOHU2CJO3LABPWD6WYSPJZP5NP67TMNN
          ledger:
            href: https://horizon-testnet.stellar.org/ledgers/27963785
          operations:
            href: >-
              https://horizon-testnet.stellar.org/transactions/5ebd5c0af4385500b53dd63b0ef5f6e8feef1a7e1c86989be3cdcce825f3c0cc/operations{?cursor,limit,order}
            templated: true
          effects:
            href: >-
              https://horizon-testnet.stellar.org/transactions/5ebd5c0af4385500b53dd63b0ef5f6e8feef1a7e1c86989be3cdcce825f3c0cc/effects{?cursor,limit,order}
            templated: true
          precedes:
            href: >-
              https://horizon-testnet.stellar.org/transactions?order=asc&cursor=120103542047408128
          succeeds:
            href: >-
              https://horizon-testnet.stellar.org/transactions?order=desc&cursor=120103542047408128
        id: 5ebd5c0af4385500b53dd63b0ef5f6e8feef1a7e1c86989be3cdcce825f3c0cc
        paging_token: '120103542047408128'
        successful: true
        hash: 5ebd5c0af4385500b53dd63b0ef5f6e8feef1a7e1c86989be3cdcce825f3c0cc
        ledger: 27963785
        created_at: '2020-01-28T10:03:33Z'
        source_account: GDI5EK4HNMBHJJQGP3GUXQJIIOHU2CJO3LABPWD6WYSPJZP5NP67TMNN
        source_account_sequence: '65046128646685383'
        fee_charged: 100
        max_fee: 100
        operation_count: 1
        envelope_xdr: >-
          AAAAANHSK4drAnSmBn7NS8Eo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HKvWXqOLCLFGy+7wAAAAFOR05UAAAAACzhgi5id7r3Ay421+JnriBvsTeqdNHsDjIPiNkNJLwBAAAB0alKIAt//////////wAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwGp+6EAAAABAAAAANHSK4drAnSmBn7NS8EoQ49NCS7awBfYfrYk9OX9a/35AAAAAU5HTlQAAAAALOGCLmJ3uvcDLjbX4meuIG+xN6p00ewOMg+I2Q0kvAEAAAkQQwRXzX//////////AAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAaqxiQAAAAEAAAAA0dIrh2sCdKYGfs1LwShDj00JLtrAF9h+tiT05f1r/fkAAAABTkdOVAAAAAAs4YIuYne69wMuNtfiZ64gb7E3qnTR7A4yD4jZDSS8AQAABz6ZujfNf/////////8AAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
        fee_meta_xdr: >-
          AAAAAgAAAAMBqfuhAAAAAAAAAADR0iuHawJ0pgZ+zUvBKEOPTQku2sAX2H62JPTl/Wv9+QAAAAACFZD4AOcXHAAAAsYAAAABAAAAAQAAAACEPwEuxkVAQXfespLpiilBRPdvqIsEbieyl7rz8ME0FgAAAAAAAAAAAQAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQGqsYkAAAAAAAAAANHSK4drAnSmBn7NS8EoQ49NCS7awBfYfrYk9OX9a/35AAAAAAIVkJQA5xccAAACxgAAAAEAAAABAAAAAIQ/AS7GRUBBd96ykumKKUFE92+oiwRuJ7KXuvPwwTQWAAAAAAAAAAABAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
        memo_type: none
        signatures:
          - >-
            zktIGIVFAq0VhE+k1pvBW68iFlJVENpqN/QrNhqomaBpcCUVpM5jJhzXVi7FQzUXOXVVPhQRsjbYG87/wfNSBA==

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.