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

> ## Agent Instructions
> Soroswap Aggregator API: base URL https://api.soroswap.finance, pick the network with ?network=mainnet or ?network=testnet (omitted means mainnet).
> Auth: Authorization: Bearer sk_... on every call. Get a key at https://console.soroswap.finance/register. A missing or invalid key returns 401 with code and registerUrl (POST /send returns 403 instead); an expired JWT or a missing role returns 403. Free plan 1 request/s; see https://docs.soroswap.finance/api/plans.md.
> Flow: POST /quote (assetIn, assetOut as C... contract addresses, amount as an integer string in the smallest unit, tradeType, protocols) -> POST /quote/build with the unchanged quote and from -> the user signs the XDR -> POST /send. Build right after quoting: a Soroban XDR is valid for 180 seconds. Submit it as is, never re-simulate it.
> Partner id: every account has one (9 hex chars, permanent). Read partnerId from GET /partner, or in the console at https://console.soroswap.finance under Fees & payouts. The partner fee itself is switched on by Soroswap; see https://docs.soroswap.finance/api/fees.md.
> AI tools: docs MCP at https://docs.soroswap.finance/mcp (claude mcp add --transport http soroswap-docs https://docs.soroswap.finance/mcp), skill with npx skills add https://docs.soroswap.finance. Other clients: https://docs.soroswap.finance/api/build-with-ai.md.
> Units and Stellar pitfalls: https://docs.soroswap.finance/api/stellar-gotchas.md. Errors and retries: https://docs.soroswap.finance/api/errors.md.

# Bridge transfer status

> Status of a bridge transfer from the source transaction hash: phase burned, attesting, forwarding, claimable (USDC into Stellar), complete or failed, with destinationTxHash when known. An unknown hash reads burned.



## OpenAPI

````yaml GET /bridge/status
openapi: 3.0.0
info:
  title: Soroswap API
  description: >+

    # 🚀 Soroswap API


    **Soroswap.Finance** is both an **Automated Market Maker (AMM)** and a **DEX
    Aggregator** on the Stellar blockchain.


    It aggregates liquidity from Soroban DEXes (**Soroswap, Phoenix, Aqua and
    Comet(TBA)**), and the **Stellar Classic DEX** — giving you **the best trade
    routes, liquidity tools, and real-time market data**.


    ---


    ## 📋 What You Can Do


    - 🔄 **Quote** – Get the best trade route between two assets with
    split-routing logic across AMMs and SDEX.  

    - 🧱 **Build** – Generate and simulate unsigned transactions (XDR) for swaps
    or liquidity actions.  

    - 🚀 **Send** – Submit signed transactions via Soroban RPC or Horizon.

    - ⚡ **Gasless Trustlines** – Use `gaslessTrustline` in `/quote` to open
    trustlines for users without requiring them to hold XLM or deal with
    trustline setup themselves.

    - 💰 **Platform Fees** – Add your own fee to user swaps with
    `platformFee`.  

    - 💧 **Liquidity** – Create LPs, add liquidity, remove liquidity.  

    - 💲 **Price** – Get real-time token prices.  

    - 🧠 **Pools** – View detailed pool information for Soroswap AMM.


    📮 **[Downnload the Postman Collection
    here](https://drive.google.com/drive/folders/1G-LQYE2EojPWP1CSuuS_tDb9vjYbFR6E?usp=drive_link)**


    ---


    ## 🔑 Authentication


    Send `Authorization: Bearer <credential>`: an API key (`sk_...`) or the JWT
    access token from `POST /login`. Each operation's `security` says whether it
    needs one; `security: []` means it is public.


    - **401**: no credential, or an invalid API key. The body says where to get
    a key, and `WWW-Authenticate` is set.

    - **403**: an expired or invalid JWT, or a valid credential without the
    required role.

    - `POST /send` answers **403** for any missing or invalid credential.

  version: '1.0'
  contact: {}
  x-logo:
    url: https://links.paltalabs.io/soroswap-full.svg
    backgroundColor: '#0e0e0e'
    altText: Soroswap Logo
    href: https://soroswap.finance
servers: []
security: []
tags: []
paths:
  /bridge/status:
    get:
      tags:
        - Bridge
      summary: Bridge transfer status
      description: >-
        Where a transfer is, from its source transaction: USDC via Circle Iris,
        USDT via LayerZero Scan. USDC into Stellar reports `claimable` until
        someone submits mint_and_forward, then `complete`. A USDC transaction
        with several CCTP messages (burns) reports message 0 at the top level,
        as for one message, and lists every message in `messages`;
        `messageIndex` reports just that one.
      operationId: BridgeController_status
      parameters:
        - name: network
          required: false
          in: query
          description: Mainnet only; testnet answers 400
          schema:
            enum:
              - testnet
              - mainnet
            type: string
        - name: asset
          required: true
          in: query
          schema:
            type: string
            enum:
              - USDC
              - USDT
        - name: sourceChain
          required: true
          in: query
          schema:
            type: string
            example: base
        - name: txHash
          required: true
          in: query
          description: >-
            Source transaction hash (Stellar with or without 0x) or Solana
            signature
          schema:
            type: string
        - name: messageIndex
          required: false
          in: query
          description: >-
            USDC only. Which CCTP message of the source transaction to report,
            by its position in Circle Iris's list (ascending log index). Without
            it, a transaction with several messages reports message 0 at the top
            level and every message in `messages`.
          schema:
            minimum: 0
            type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BridgeStatusResponse'
        '400':
          description: >-
            Bad input, testnet, or a messageIndex past the last message (or with
            USDT)
        '401':
          description: >-
            No credential, an invalid API key, or a valid JWT of a disabled
            account. Except for the disabled account, the answer carries
            `WWW-Authenticate` and a `registerUrl`.
        '403':
          description: >-
            An expired or invalid JWT, or a valid credential without the
            required role.
        '503':
          description: Iris, LayerZero Scan or the Stellar RPC could not answer
      security:
        - bearer: []
components:
  schemas:
    BridgeStatusResponse:
      type: object
      properties:
        phase:
          type: string
          enum:
            - burned
            - attesting
            - forwarding
            - claimable
            - complete
            - failed
        destinationTxHash:
          type: string
        detail:
          type: string
        claim:
          description: USDC into Stellar only
          allOf:
            - $ref: '#/components/schemas/BridgeClaimAvailability'
        messages:
          description: >-
            USDC only, and only when the source transaction holds more than one
            CCTP message and no messageIndex was asked for: every message, in
            Iris order. The top-level fields are message 0.
          type: array
          items:
            $ref: '#/components/schemas/BridgeStatusMessage'
      required:
        - phase
    BridgeClaimAvailability:
      type: object
      properties:
        available:
          type: boolean
          description: A mint_and_forward submitted now would succeed (by simulation)
      required:
        - available
    BridgeStatusMessage:
      type: object
      properties:
        phase:
          type: string
          enum:
            - burned
            - attesting
            - forwarding
            - claimable
            - complete
            - failed
        destinationTxHash:
          type: string
        detail:
          type: string
        claim:
          description: USDC into Stellar only
          allOf:
            - $ref: '#/components/schemas/BridgeClaimAvailability'
        index:
          type: number
          description: Position in Circle Iris's list (ascending log index)
        destinationDomain:
          type: number
          nullable: true
          description: CCTP destination domain (27 is Stellar); null until Iris can tell
      required:
        - phase
        - index
        - destinationDomain
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````

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