r/UniSwap • • Oct 30 '26

Dev/Tech ✨ The Python Uniswap Universal Router (unofficial) SDK v4.0.0 is released!

Major release with plenty of new features including agent-friendly ones:

  • ✅ The SDK can now be installed (as an option) with a MCP server
  • ✅ CLI tools to decode and encode without writing python code
  • ✅ Decoder output as JSON friendly
  • ✅ Rebuild the calldata from a decoded call
  • ✅ Capture the trailing data or append it
  • ✅ More supported UR commands:

    • PAY_PORTION_FULL_PRECISION
    • V3_POSITION_MANAGER_PERMIT
    • V3_POSITION_MANAGER_CALL
    • EXECUTE_SUB_PLAN
    • BALANCE_CHECK_ERC20
  • ✅ And much more ...

➡️ Doc/Repo
➡️ Full release notes
➡️ Installation: pip install uniswap-universal-router-decoder==4.0.0
➡️ Installation with MCP: pip install uniswap-universal-router-decoder[mcp]==4.0.0

Feel free to give me any feedback on this release here, or open a discussion or a ticket about a feature that should be in the next one!

Happy development!! 🙂

7 Upvotes

3 comments sorted by

1

u/AutoModerator Oct 30 '26

Security Reminders:

Official site: https://uniswap.org/

Official Twitter: https://twitter.com/Uniswap

Official Discord: https://discord.com/invite/uniswap

If you need help please check out our general support articles: https://support.uniswap.org/hc/en-us

Otherwise, submit a request at https://support.uniswap.org/hc/en-us/requests/new, or email our support team at support@uniswap.org.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.