---
title: "Check Mayan bridge order status"
method: GET
path: "/api/v1/mayan/bridge/check"
tags: ["mayan"]
---

# Check Mayan bridge order status

`GET /api/v1/mayan/bridge/check`

## Request

- Base URL: `https://api.enso.finance`
- URL: `https://api.enso.finance/api/v1/mayan/bridge/check`
- Auth: HTTP bearer

Returns the delivery or refund status of a Mayan Swift order, looked up from the source transaction.

## Query parameters

- `chainId` number, required
- `txHash` string, required

## Response `200`

Bridge transaction status and details

- MayanBridgeTransactionResponse
  - `sourceChainId` number, required: Chain ID of the source transaction
  - `sourceTxHash` string, required: Source transaction hash
  - `orderHash` string: Swift order hash
  - `destinationChainId` number: Destination chain ID of the order
  - `destinationTxHash` string: Destination transaction that fulfilled the order (present when delivered). A Solana signature for Solana destinations.
  - `refundChainId` number: Chain the order was refunded on, which is the source chain. Present when the order was refunded instead of fulfilled. destinationChainId then names the intended destination.
  - `refundTxHash` string: Refund transaction, present when the order was refunded instead of fulfilled
  - `status` 'pending' | 'inflight' | 'delivered' | 'failed' | 'unknown', required: Overall bridge status
  - `mayanStatus` string: Order status reported by the Mayan explorer
  - `intent` BridgeRouteIntent
    - `requestId` string, required: Intent request id (bytes32) published by the source transaction
    - `executor` string, required: Ephemeral executor address the bridge delivers to on the execution chain (lowercase)
    - `executionChainId` number: Chain the intent executes (and refunds) on
    - `phase` 'awaiting_funds' | 'executing' | 'executed' | 'refunding' | 'refunded' | 'failed' | 'unknown', required: Coarse lifecycle phase of the destination stage
    - `status` string, required: The keeper's own lifecycle status (pending | waiting_funds | inflight | executed | failed | failed_permanent | expired | refund_pending | refund_inflight | refunded | refund_skipped | refund_failed), or unknown
    - `statusDescription` string: Human-readable status explanation
    - `source` 'keeper' | 'onchain', required: Where the stage was read from: the intent keeper, or only the chain itself
    - `deadline` string: Intent deadline (ISO 8601). Past it the executor can only refund.
    - `executionTxHash` string: The keeper's execution transaction
    - `executionExplorerUrl` string: Block-explorer link for the execution transaction
    - `executedAt` string: When the execution mined (ISO 8601)
    - `refundTxHash` string: The repayment transaction, when funds were swept back
    - `refundExplorerUrl` string: Block-explorer link for the repayment transaction
    - `refundedAt` string: When the repayment mined (ISO 8601)
    - `error` string: Last error the keeper recorded for this intent, if any
  - `destinationExecutionTxHash` string: The keeper's intent execution transaction on the destination chain, once executed. destinationTxHash is only the Swift fulfillment that funded the executor.
  - `ensoDestinationEvent` EnsoEvent
    - `accountId` string: Account ID from ShortcutExecuted event
    - `requestId` string: Request ID from ShortcutExecuted event
    - `blockNumber` number, required: Block number where the event was emitted
    - `transactionHash` string, required: Transaction hash
    - `chainId` number, required: Chain ID where the event was emitted
    - `success` boolean, required: Whether the shortcut execution was successful
    - `error` string: Error data if execution failed
    - `refundDetails` RefundDetails
      - `token` string, required: Token address (0xeee... for native token)
      - `amount` string, required: Amount refunded
      - `recipient` string, required: Recipient address
      - `isNative` boolean, required: Whether the refund is in native token
  - `error` string: Error message when the status could not be determined

## Other responses

- `429`: Rate limit exceeded

## Changes

- **2026-11-02** `d43e21a824af`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/enso/apis/enso-api-2/changes/api/v1/mayan/bridge/check/get.md)

---

[API](https://skmtc.dev/enso/apis/enso-api-2.md) - [All operations](https://skmtc.dev/enso/apis/enso-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/enso/apis/enso-api-2/revisions/d43e21a824af?raw)
