Get pool balance

Get pool balance on Curve

Ethereum
Ethereum
Base
Base

Reads onchain state

Ready to run on Base

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.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

More plugs on Base

Provide liquidity on Base · 6 plugs

More on Curve · 11

On other protocols · 3