Providers module (engine adapters)

How X1/X2/X3 integrations are kept private.

circle-info

XROH abstracts all external liquidity sources behind internal route engines (X1/X2/X3).

Public docs never name third‑party providers or expose their endpoints.

Responsibility

  • Wrap each external route source behind an internal adapter.

  • Return normalized route candidates.

  • Enforce adapter-specific timeouts.

Expected adapter interface

  • getQuote(params) → candidate routes

  • optional execution helpers (if execution is delegated)

  • health check hooks

Health monitoring

Maintain per-engine reliability signals:

  • success rate

  • avg response time

  • avg settlement time

  • consecutive failures

  • is_healthy gating

Last updated