Page cover

🔗Difference of Basic & Advanced SDK

Basic (Single TX) versus Full SDK (Multistep TX)

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)

Support all the blockchains

Relaying arbitray message

Call your contract on destination chain

Pros. & Cons.

  • Only one TX needed

  • No gas required on the destination

  • Better UX

  • Easier to integrate

  • Multiple TXs are needed to be signed

  • May need the gas on the destination or middle networks

Price

  • Optimal price for 95% scenarios

  • Sub-optimal price for 5% scenarios

  • Covers 85% of routes

  • Best rates for all paths

Referral

Full EVM support, THORChain, Jupiter

1inch, Paraswap, THORChain, Jupiter

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

Last updated