SDKs for interacting with the deepwaters exchange.
These SDKS are mainly intended to help with two things:
- REST API authentication, which requires digital signing
- GraphQL websocket subscriptions, for those who are new to these
Examples of these, as well as sample calls to REST API endpoints, are presented here. There are also Go examples of programmatic deposits and withdrawals of both ERC20 and native tokens.
The REST API (docs) and the GraphQL API (docs) can both be used for trading, but the REST API is simpler to use and is designed solely for trading. The GraphQL websockets subscriptions must be used for realtime trade and order updates - no authentication is required for these. Note that both L2 and L3 subscriptions are available.