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

# Transaction Status

> View status of your transaction



## OpenAPI

````yaml /api-reference/openapi.json POST /status
openapi: 3.0.3
info:
  title: Leokit API
  version: 1.0.0
  description: API reference for Leokit
servers:
  - url: https://api.leokit.dev
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /status:
    post:
      summary: Check status
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StatusRequest'
            example:
              protocol: mayachain
              tx_id: >-
                0xf077b6380b5023e73a200abed3128a857fbb0663c95fa50c5140b22b29895503
              quote_id: 019b4c96-e47b-7000-afd4-17252097b092
      responses:
        '200':
          description: Transaction status response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
components:
  schemas:
    StatusRequest:
      type: object
      description: Request body for /status.
      required:
        - quote_id
        - tx_id
      properties:
        quote_id:
          type: string
          description: Quote identifier returned from /quote.
        tx_id:
          type: string
          description: Origin chain transaction id/hash.
          default: '0xf077b6380b5023e73a200abed3128a857fbb0663c95fa50c5140b22b29895503'
          example: '0xf077b6380b5023e73a200abed3128a857fbb0663c95fa50c5140b22b29895503'
        protocol:
          type: string
          description: Optional protocol hint (e.g., mayachain).
          default: mayachain
          example: mayachain
    StatusResponse:
      type: object
      required:
        - protocol
        - hash
        - network
        - req_id
        - status
        - status_url
        - scanner
        - native_scanner
        - in_amount
        - from_token
        - to_token
        - type
        - from_address
        - date
      properties:
        protocol:
          type: string
          description: Protocol used to route/execute the action (e.g., mayachain).
        hash:
          type: string
          description: Transaction hash / txid for the action (hex string).
        network:
          type: string
          description: Origin network for the transaction (e.g., arbitrum).
        req_id:
          type: string
          description: Optional request identifier for correlating calls. May be empty.
        status:
          type: string
          description: Current transaction status (e.g., pending, success, failed).
        status_url:
          type: string
          description: Link to a status/details endpoint for the underlying protocol.
        scanner:
          type: string
          description: Explorer/scanner URL for the transaction.
        native_scanner:
          type: string
          description: Native scanner URL (or a message when not available).
        in_amount:
          type: number
          format: double
          description: Input amount provided for the action.
        from_token:
          type: string
          description: Input token/asset identifier.
        to_token:
          type: string
          description: Output token/asset identifier.
        type:
          type: string
          description: Action type (e.g., swap).
        from_address:
          type: string
          description: Sender address on the origin network.
        date:
          type: integer
          format: int64
          description: Event timestamp in milliseconds since epoch.
    Error:
      type: object
      description: Generic error payload.
      properties:
        message:
          type: string
        code:
          type: string
  responses:
    ErrorResponse:
      description: Error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Api-Key
      description: 'Demo API-Key (Sandbox): 7037d2b3-9c76-4f62-b730-c544f7570fa4'

````