Get pool balance
Get pool balance

Curve · Reads onchain state

Reads how much of one coin a Curve pool currently holds. The pool's balances entry for the chosen coin is returned in that coin's units; the index is resolved at runtime when the coin is a coil. Reach for it to measure depth before a large deposit or swap, or to compare coin balances and detect a pool imbalance a strategy wants to exploit or avoid.

On other protocols · 1