Skip to content

Aryan/balancer v2 api - #4816

Draft
AryanGodara wants to merge 2 commits into
aryan/balancer-v2-indexingfrom
aryan/balancer-v2-api
Draft

Aryan/balancer v2 api#4816
AryanGodara wants to merge 2 commits into
aryan/balancer-v2-indexingfrom
aryan/balancer-v2-api

Conversation

@AryanGodara

Copy link
Copy Markdown
Member

Description

Serves the indexed pools over HTTP and switches the driver to read from the pool-indexer instead of the balancer subgraph.

Changes

  • Add GET /balancer/v2/pools and /balancer/v2/pools/by-ids to the pool-indexer.
  • Driver seeds its balancer pool registry from the pool-indexer (indexer-url) instead of the subgraph (graph-url).
  • Remove the balancer subgraph client and the code that only it used from the driver and liquidity-sources.

How to test

  • curl .../api/v1/<network>/balancer/v2/pools returns the indexed pools.
  • Run the driver with indexer-url set; it fetches balancer liquidity from the indexer at startup. The e2e (next) PR covers this.

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

This pull request has been marked as stale because it has been inactive a while. Please update this pull request or it will be automatically closed.

@github-actions github-actions Bot added the stale label Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant