Dexible API & SDK v2.0

Professional grade, programmatic execution for open financial markets

See the Dexible Website | Dexible Web App UI | Dexible User Documentation

If you're looking for docs on v1.0, please go here: https://dexible.gitbook.io/dexible-sdk-v1.0/

Dexible is a fully automated Execution Management System (EMS) for DeFi. In its simplest form, Dexible takes on the responsibility of executing DeFi "orders" according to user-specified "policies". These policies basically dictate how execution should be carried out.

The SDK is a library used to interact directly with the Dexible infrastructure. It makes it easier to call the appropriate APIs with wallet signatures, etc. With the SDK, it is possible to:

  • Lookup token metadata quickly (including wallet balance and Dexible spend allowances)

  • Get quotes for token swaps

  • Submit orders to Dexible for execution

  • Query active and historical orders

  • Pause, Resume, and Cancel orders

Here is a quick example of how to get a quote and submit an order:

Getting an Order Quote

This results in:

Submit an Order

This results in order output:

Before diving into the weeds of the SDK, it may be necessary to first understand how Dexible receives, validates, and executes orders--basically how Dexible works.

Last updated

Was this helpful?