The @quickscope/sdk
package offers powerful quote retrieval functions designed to help you compare swap options across Solana's top liquidity providers. Whether you're optimizing for price, targeting specific protocols, or displaying all available paths, these functions give you full control over quote logic.
Functions
1. getQuoteBest
getQuoteBest
Returns the best available quote across all providers based on output amount. It simplifies routing by abstracting away quote comparisons and returning the most cost-effective path.
2. getQuoteCustom
getQuoteCustom
Fetches a quote from a specific provider, program ID, or liquidity pool. Ideal for developers looking to build custom routing logic or manually target a specific venue.
Learn more aboutgetQuoteCustom
Together, these quote functions form the core of Quickscope’s smart routing system. They allow developers to balance simplicity and control while integrating powerful swap decision logic into their applications.
For full examples, parameter details, and integration tips, check out the individual function documentation.