✨ The #Python#Uniswap Universal Router (unofficial) SDK v4.0.0 is released!
Plenty of new features including agent-friendly ones:
✅ Can be installed (as an option) with a MCP server
✅ CLI tools to decode and encode without writing python code
#DeFi#Web3AI#Crypto#Ethereum
The uniswap-smart-path library v0.4.0 has just been released.
The main updates are:
- drop support for Python 3.8 & 3.9 and web3 v6
- add support for Python 3.14 and web3 v8
- SmartPath creation can now be rate limited (in addition to the path computation)
#Uniswap | @Uniswap
How to use the #Python Universal Router SDK to call the #Uniswap V3 position manager ?
The UR allows us to call one of the following V3 position functions through the V3_POSITION_MANAGER_CALL command:
- decreaseLiquidity
- collect
- burn
⬇️
@UniswapFND@Uniswap@UniswapBuilders 2 or 3 calls can be chained. For example, here we encode the whole decreaseLiquidity -> collect -> burn chain
Once in a while I parse all transactions sent to the #Uniswap Universal Router on #Ethereum for a given month, list the commands that are actually used and count all occurrences
I did it again, this time for October 2026, excluding the 31th to have 30 days like before
Summary⬇️
@UniswapFND@Uniswap@UniswapBuilders We can see the market is very different compared to the time the previous statistics we computed: there is only ~1 UR transactions as opposed to more than 11
Uniswap V2 was for a long time the main protocol to swap tokens. Now, V4 is in the lead, followed by V3, and V2 is behind