Balancer DOCS
Concepts
SDK
Developer Guides
  • Contracts

    • Deployment Addresses
      • Mainnet
      • Arbitrum
      • Optimism
      • Polygon
      • Gnosis
      • Goerli
    • APIs
    • Security
    • Error Codes
    • Query Functions
  • Subgraph

    • Overview
      • Core
      • Gauges
  • Swaps / Joins / Exits

    • Batch Swaps
    • Flash Swaps
    • Single Swap
    • Pool Joins
    • Pool Exits
  • Math

    • Weighted Math
    • Stable Math
    • Linear Math
  • veBAL & Gauges

    • APR Calculation
    • Gauges
    • veBAL
Concepts
SDK
Developer Guides
  • Contracts

    • Deployment Addresses
      • Mainnet
      • Arbitrum
      • Optimism
      • Polygon
      • Gnosis
      • Goerli
    • APIs
    • Security
    • Error Codes
    • Query Functions
  • Subgraph

    • Overview
      • Core
      • Gauges
  • Swaps / Joins / Exits

    • Batch Swaps
    • Flash Swaps
    • Single Swap
    • Pool Joins
    • Pool Exits
  • Math

    • Weighted Math
    • Stable Math
    • Linear Math
  • veBAL & Gauges

    • APR Calculation
    • Gauges
    • veBAL
  • Overview
    • Basics
    • Components
  • Vault
    • Overview
    • Swaps
  • Pools
    • Overview
    • Weighted Pools
    • Composable Stable Pools
    • Boosted Pools
    • Liquidity Bootstrapping Pools (LBPs)
    • Linear Pools
    • Managed Pools
    • Protocol Pools
    • More
      • Pool Configuration
      • Pool Deployments and Features
  • Governance
    • Overview
    • BAL Token
    • veBAL
      • Overview
      • FAQ
    • Emergency subDAO
    • Multisig
    • Governance Process
    • Governable Protocol Fees
    • Snapshot
  • Advanced
    • Impermanent Loss
    • Preminted BPT
    • Relayers
    • Smart Order Router
    • Valuing BPT

# Smart Order Router

# Overview

The Smart Order Router (SOR) finds the best prices for Balancer traders. For given input and output tokens, the SOR finds the optimal trades whether that is a direct swap in one pool, or a combination of trades hopping through multiple pools.

SOR Path Split Example

Under Development

The current SOR is being upgraded with a new alogrithm and architecture to improve speed and reliability. This page will be filled out upon release

Relayers Valuing BPT

Page contents
  • Overview
Edit page on GitHub open in new window