uniswap_v2.liquidity

Documentation for eth_defi.uniswap_v2.liquidity Python module.

Liquidity measuring.

Functions

get_liquidity(web3, pair_address)

Measure Uniswap v2 pool liquidity.

Classes

LiquidityResult

Sampled liquidity on Uniswap v2 pool.

Exceptions

UnmatchedToken

Token was not in the pool.