Skip to content

Commit

Permalink
docs: remove /budget
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodus committed Jan 14, 2025
1 parent 00af3c1 commit 2f6353d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,12 @@ the startup time of the `tap-escrow-manager`.

## indexer payments

The gateway serves its budget per indexer request, in USD, at `/budget`. Indexers make their prices
available via Agora cost-models. These cost models are served, for each subgraph deployment, by
indexer-service at `/cost`. When selecting indexers, the gateway first executes their cost models
over the indexer request to obtain each indexer's fee. Indexer selection will favor indexers with
lower fees, all else being equal. The gateway has a control system that may pay indexers more than
they request via their cost models in an effort to hit an average of `budget` fees per client query.
Indexer fees are clamped to a maximum of the gateway's budget.
Indexers make their prices available via Agora cost-models. These cost models are served, for each
subgraph deployment, by indexer-service at `/cost`. When selecting indexers, the gateway first
executes their cost models over the indexer request to obtain each indexer's fee. Indexer selection
will favor indexers with lower fees, all else being equal. The gateway has a control system that may
pay indexers more than they request via their cost models in an effort to hit an average fees per
client query. Indexer fees are clamped to a maximum of the gateway's budget.

### TAP

Expand Down

0 comments on commit 2f6353d

Please sign in to comment.