Wanchain - We Are All Connected!
WebsiteBridgeExplorerEcosystem
  • 👋 Welcome to Wanchain
  • Products
    • WanBridge
      • Bridge-to-Earn
      • XP
    • XFlows
      • XP
    • XPort
      • XPort developer handbook
      • Supported chains
    • XStake
  • Cross-Chain Infrastructure
    • Wanchain Bridge Node Group
    • Wanchain L1 blockchain
      • Network information
    • WAN coin
      • How to get WAN coins
      • WAN coin faucets
      • xWAN
  • The Convert n' Burn System
    • Overview
    • Bridge fees
      • Conversion and distribution
    • Discounts
  • Developers
    • WanBridge API
      • 1. Information Retrieval
        • 1.1 Supported Chains and Tokense 1
        • 1.2 Cross-chain Quota and Fees
        • 1.3 Asset Lock Address
        • 1.4 Storeman Group ID (smgID)
      • 2. Creating Cross-chain Transactions for WanBridge
        • 2.1 Direct Interaction with On-chain Contracts
        • 2.2 Creating Cross-Chain Transactions Using API
      • 3. Circle CCTP Cross-Chain
        • 3.1 EVM Compatible Chains
      • 4. Status Query
    • XFlows API
      • 1.1 Basic Information
      • 1.2 Request Parameters
      • 1.3 Response Parameters
      • 1.4 Examples
      • 1.5 Notes
      • 1.6 Status Query
    • XPort Developer Handbook
  • PoS Validator Nodes
    • Important Terms and Parameter
    • Recommended Hardware & Software
    • Mainnet Node Setup (Quick Start)
    • Mainnet Node Setup (Manually)
    • Getting Started With AWS
    • Common Operations (CLI)
    • Delegation Guide
    • Commonly Used Scripts
    • GWAN PoS API
    • Partner Model Staking Guide
    • Staking FAQ
  • Wanchain Bridge Nodes
    • Fact Sheet
    • How to deploy a Bridge Node
  • External Links
    • Blog
    • Email
    • GitHub
    • Telegram
    • Telegram Tech Support
    • Twitter/X
    • WanBridge
    • XFlows
    • XStake
    • WanScan
    • Website
Powered by GitBook
On this page
  1. Developers
  2. XFlows API

1.6 Status Query

You can use the following APIs to check the status of an XFlows cross-swap transaction using the source chain transaction hash:

Example:

curl -XGET <https://bridge-api.wanchain.org/api/status/0x3b3ea21007157ec956e884986be36658ca6abd80f0a787e9105f342f29551ddb>

curl -XGET <https://bridge-api.wanchain.org/api/status/msg/0x3b3ea21007157ec956e884986be36658ca6abd80f0a787e9105f342f29551ddb>

curl -XGET <https://dex.wanscan.org/api/xflows/status/0x3b3ea21007157ec956e884986be36658ca6abd80f0a787e9105f342f29551ddb>

API Endpoints:

  • Cross status query: https://bridge-api.wanchain.org/api/status/{sourceChainTxHash}

  • Message status query: https://bridge-api.wanchain.org/api/status/msg/{sourceHash}

  • Execution status query: https://dex.wanscan.org/api/xflows/status/{sourceChainTxHash}

Status Code:

  • 0: Pending

  • 1: Success

  • 2: Failed

  • 3: Processing

  • 4/5: Refunded

  • 7: Risk transaction

Previous1.5 NotesNextImportant Terms and Parameter

Last updated 1 day ago