Skip to main content

Slippage Tolerance Configuration

We’ve added optional slippage tolerance to all quote endpoints to help reduce quote refunds and improve user experience.

What’s New

  • Optional slippageTolerance parameter - Add to any quote request
  • Basis point format - Specify as positive integer (e.g., 100 = 1%, 50 = 0.5%)
  • All endpoints supported - Works with quote, call-quote, and multi-chain endpoints
  • Backward compatible - Existing integrations continue to work unchanged

Usage Example

{
  "from": {
    "account": { ... },
    "asset": { "assetId": "ob:usdc" },
    "amount": "1000000"
  },
  "to": {
    "asset": { "assetId": "ob:eth" }
  },
  "slippageTolerance": 100
}

Benefits

  • Fewer Refunds - Transactions succeed despite minor price movements
  • Better UX - Users can retry with adjusted parameters instead of failed quotes
  • Cost Efficiency - Reduces wasted gas from failed transactions
Learn more in our Slippage Tolerance Guide.
I