Native Documentation
  • introduction
    • What is Native
    • About Native V2
    • Benefits for Key Players
  • SOLUTION
    • Native Credit Pool
    • Native Swap Engine
  • CONCEPTS
    • Orderbook
    • Firm Quote Orders
    • Auto Sign Orders
    • Swap Fees
    • Slippage
    • Base and Listed Assets
    • Single-Sided Liquidity Pools
    • Total Available Liquidity
    • Liquidity Pairing
    • Liquidity Bootstrapping
    • Health Ratio
    • Earning Fees and Incentives
    • Credit-Based Swap
      • Collateral Factor
      • PMM Credit
      • Settlement and Liquidation
    • Market-Responsive Pricing
    • Risks
  • USER GUIDE
    • Add Liquidity
    • Pair Liquidity
    • Claim Rewards
    • Swap with Native
  • Build with Native
    • Swap Aggregators
      • Guide
      • FirmQuote Swap APIs
        • GET Orderbook
        • GET Indicative quote
        • GET Firm quote
    • Asset Issuers
      • For Pegged Assets
      • For General Assets
  • Resources
    • Addresses
    • Audits
    • Github
    • System Status
    • Business Source License
    • Media Kit
Powered by GitBook
On this page
  • Headers
  • Params
  • Example Request
  • Example Response
  1. Build with Native
  2. Swap Aggregators
  3. Crosschain Swap API
  4. Old docs

GET /tx-status

This endpoint returns the status of the bridge transaction, identified by quoteId that is returned from Native firm quote endpoint.

Bridge statuses

  • USER_REQUESTED: The user requested a firm quote but did not submit the initiate intent transaction.

  • USER_COMMITTED: The user submitted the initiate intent and deposited funds into the Native bridge contract.

  • MM_FILLED: The market maker (MM) filled the transaction on the destination chain; no further action is required from the user.

  • MM_FAILED: The MM failed to sign the transaction within the expiry time; the user needs to perform a refund operation to retrieve their deposited funds.

  • REFUNDED: The user performed a refund operation and withdrew their funds.

  • CLAIMED: The MM claimed funds from the bridge contract to Native Lend, updating their credit position.

Headers

Name
Description

apiKey

API Key retrieved from the Native app

Params

Name
Description

quoteId *

The unique order ID that is returned from the Native firm-quote endpoint

Example Request

https://newapi.native.org/v1/bridge/tx-status?quoteId=0xeed84ac291ed96013ddeee89d2646cb0>

Example Response

{
    "quoteId": "0xeed84ac291ed96013ddeee89d2646cb0",
    "status": "MM_FILLED"
}

Last updated 9 months ago