Getting Started with the SDK
Install the SDK:
Instantiate the SDK:
The SDK will expose:
OrderBookApi
- provides the ability to retrieve orders and trades from the CowSap order-book, as well as add and cancel themOrderSigningUtils
- serves to sign orders and cancel them using EIP-712SubgraphApi
- provides statistics data about CoW protocol from Subgraph, such as trading volume, trades count and others
💡 For a quick snippet with the full process on posting an order see the Quick start example
Now you should have a ready to use SDK instance. Let's explore in the next section, how we can use it to query the CoW API.
Last updated