Get pool balance

Get pool balance on Balancer V3

Ethereum
Ethereum
Base
Base

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.

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 on Balancer V3 · 7

On other protocols · 3