Get pool balance
Get pool balance

Balancer V3 · Reads onchain state

Reads how much of one token a Balancer V3 pool holds in the Vault. The Vault reports the token's position in the pool and the pool's raw balances, and the token's entry is read in that token's units. A token outside the pool reverts the read. Reach for it to measure a pool's depth before a large swap, add or removal, or to compare two tokens' balances and catch an imbalance.

On other protocols · 3