> For the complete documentation index, see [llms.txt](https://cetus-1.gitbook.io/cetus-developer-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cetus-1.gitbook.io/cetus-developer-docs/developer/via-sdk-v2/migrate-from-v1-to-v2.md).

# Migrate from v1 to v2

In the SDK v2, we've implemented comprehensive enhancements and refactoring throughout. We've standardized function names, parameter formats, and return value structures. Additionally, deprecated APIs have been eliminated. As old SDKs will be deprecated in the future, **please migrate your integration using the new SDK as early as possible.**

Below are the key migration highlights. For detailed information, please refer to the TypeScript definitions.
