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

> Get the current confirmation state and status of a submitted Cardano transaction by hash.

# Get Transaction State



## OpenAPI

````yaml cardano/transaction-manager-api/openapi.json get /txmanager/{txhash}/state
openapi: 3.0.3
info:
  title: Cardano - Transaction Manager API
  description: Cardano Transaction Submit API with advanced monitoring.
  contact:
    name: Maestro Blockchain Inc.
    url: https://gomaestro.org/
    email: info@gomaestro.org
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.txt
  version: v1.7.0
servers:
  - url: https://mainnet.gomaestro-api.org/v1
    description: Cardano Mainnet
  - url: https://preprod.gomaestro-api.org/v1
    description: Cardano Preprod
  - url: https://preview.gomaestro-api.org/v1
    description: Cardano Preview
security:
  - api-key: []
tags:
  - name: Transactions
  - name: Webhooks
paths:
  /txmanager/{txhash}/state:
    get:
      tags:
        - Transactions
      summary: Get Transaction State
      description: Fetch the current state of a transaction using its transaction hash.
      operationId: get_transaction_state
      parameters:
        - name: txhash
          in: path
          required: true
          schema:
            type: string
          description: The transaction hash to query.
      responses:
        '200':
          description: Transaction state data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionState'
        '404':
          description: Transaction not found
        '500':
          description: Internal server error
components:
  schemas:
    TransactionState:
      type: object
      properties:
        tx_hash:
          type: string
          description: Transaction hash
        status:
          type: string
          enum:
            - pending
            - confirmed
            - failed
        confirmations:
          type: integer
          description: Number of confirmations
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: api-key
      description: API key for authenticating requests.

````