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
  1. CONCEPTS

Slippage

The slippage parameter is required for both firm quotes and auto-sign orders.

Slippage is applied in the following scenarios:

  1. When external liquidity is aggregated for a swap.

  2. When executing auto-sign orders.

If the slippage limit is exceeded during a swap:

  • External liquidity: The Native Swap Engine contract will revert the transaction on-chain, indicating insufficient liquidity.

  • Auto-sign orders: An error will be returned by the Native Swap Engine backend API, indicating that the most recent orderbook levels do not meet the required quote.

PreviousSwap FeesNextBase and Listed Assets

Last updated 4 months ago