SDK

Official Python SDK for integrating with the Cantex API and building trading applications.

Cantex provides an official Python SDK to simplify integration with the Cantex API. The SDK handles authentication, transaction signing, and provides typed response models for all API endpoints, making it easier to build trading bots, automation or backend services that interact with Cantex.

The SDK supports common operations such as retrieving account information, querying liquidity pools, requesting swap quotes, transferring tokens and executing swaps through the intent-based trading flow. It also manages cryptographic signing using operator and trading keys.

You can find the SDK and example usage on GitHub:

GitHub: https://github.com/caviarnine/cantex_sdkarrow-up-right

Refer to the repository for installation instructions, examples and full API reference.

Last updated