# Difference of Basic & Advanced SDK

Defispot SDK enables you to get the best cross-chain route for converting a token on the source blockchain to another token in the destination blockchain. It also enables dApps to relay an arbitrary message to the destination blockchain without any difficulties.

We have currently *two versions of SDKs* which are maintained and actively under development. Here is a brief comparison between them:

| Feature                                 | Basic SDK (Single TX)                                                                                                         | Advanced SDK (Multistep TXs)                                                                                          |
| --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| SDK NPM Package                         | [rango-sdk-basic](https://www.npmjs.com/package/rango-sdk-basic)                                                              | [rango-sdk](https://badge.fury.io/js/rango-sdk)                                                                       |
| Support all the blockchains             | ✔                                                                                                                             | ✔                                                                                                                     |
| Relaying arbitray message               | ✔                                                                                                                             | ✘                                                                                                                     |
| Call your contract on destination chain | ✔                                                                                                                             | ✘                                                                                                                     |
| Pros. & Cons.                           | <ul><li>Only one TX needed</li><li>No gas required on the destination</li><li>Better UX</li><li>Easier to integrate</li></ul> | <ul><li>Multiple TXs are needed to be signed</li><li>May need the gas on the destination or middle networks</li></ul> |
| Price                                   | <ul><li>Optimal price for 95% scenarios</li><li>Sub-optimal price for 5% scenarios</li><li>Covers 85% of routes</li></ul>     | <ul><li>Best rates for all paths</li></ul>                                                                            |
| Referral                                | Full EVM support, THORChain, Jupiter                                                                                          | 1inch, Paraswap, THORChain, Jupiter                                                                                   |
| Github Link                             | <https://github.com/rango-exchange/rango-sdk/tree/basic-api>                                                                  | <https://github.com/rango-exchange/rango-sdk>                                                                         |

To summarize, if you are only interested in single-step TXs or you want to use our message relaying features, you need to use Basic SDK. Otherwise, if you want the best rates for the price and like multi-steps routes, Full SDK is suitable for you
