github jup-ag/metis-binary v7.0.5

10 hours ago

API Changes

  • GET /quote
    • New optional query param: forJitoBundle (bool). When true, routing excludes HumidiFi
    • QuoteResponse schema change (breaking for parsers):
      • In routePlan[].swapInfo:
        • Removed: marketIncurredSlippageBps (Option, serialized in camelCase)
        • Added: outAmountAfterSlippage (Option, serialized-as-string)
      • Note: marketIncurredSlippageBpsF64 still exists (Option), so if you still need a “slippage” signal you likely want that now.
    • New optional response field:
      • additionalIntermediateTokens?: string[] (only present when non-empty)
        This is a debug/reporting output for dynamically-added intermediate tokens when supportDynamicIntermediateTokens is used.
  • POST /swap and POST /swap-instructions
    • Request body TransactionConfig adds:
      • positiveSlippage?: { bps: number, feeAccount: string }
    • Behavior change when instructionVersion=v2 and positiveSlippage.bps > 0:
      • The built Jupiter Aggregator swap instruction now sets positive_slippage_bps to your provided value (previously forced to 0).
      • A positive_slippage_fee_account account meta is appended (must come after platform_fee_account).
    • If positiveSlippage.bps == 0, the server deliberately ignores feeAccount to avoid a v2 instruction failure mode.

What's Changed

  • chore: Return After Slippage Out Amount In SwapInfo
  • chore: Record Quote Latency in Metrics
  • feat: Record Errors & Liquidity Data From Crawler
  • feat: add support for positive slippage
  • fix: aquifer to support token 2022
  • chore: Return Dynamically Added Tokens in Quote Response for Debugging
  • perf(core): optimize routing allocations and lock usage
  • chore: Run Metis Using Snapshot
  • chore: Turn off Brent's Iteration Related Logging
  • fix: quote multiple use bellman logic
  • feat: liquid unstake (thevault) integration
  • fix: log error for failed update
  • feat: scorch integration
  • feat: Exclude Humidifi If Quote Is For Jito Bundle
  • feat: DLMM cache liquidity available per tick to bypass heavy math
  • bug: fix math for pump bonding curve
  • fix: quote-and-simulate
  • feat: use proper fee recipient pump.
  • chore: rust 1.93
  • feat: fix pump exact in math

Commmit 28ddfb6bef542e3d76400aec6908282e124f31c6

Don't miss a new metis-binary release

NewReleases is sending notifications on new releases.