; + + /// Indicates which Swap has to be performed along with all the necessary account metas + fn get_swap_and_account_metas(&self, swap_params: &SwapParams) -> Result; + + /// Indicates if get_accounts_to_update might return a non constant vec + fn has_dynamic_accounts(&self) -> bool { + false + } + + /// Indicates whether `update` needs to be called before `get_reserve_mints` + fn requires_update_for_reserve_mints(&self) -> bool { + false + } + + // Indicates that whether ExactOut mode is supported + fn supports_exact_out(&self) -> bool { + false + } + + fn get_user_setup(&self) -> Option { + None + } + + fn clone_amm(&self) -> Box ; + + /// It can only trade in one direction from its first mint to second mint, assuming it is a two mint AMM + fn unidirectional(&self) -> bool { + false + } + + /// For testing purposes, provide a mapping of dependency programs to function + fn program_dependencies(&self) -> Vec<(Pubkey, String)> { + vec![] + } + + fn get_accounts_len(&self) -> usize { + 32 // Default to a near whole legacy transaction to penalize no implementation + } + + /// The identifier of the underlying liquidity + /// + /// Example: + /// For RaydiumAmm uses Openbook market A this will return Some(A) + /// For Openbook market A, it will also return Some(A) + fn underlying_liquidities(&self) -> Option > { + None + } + + /// Provides a shortcut to establish if the AMM can be used for trading + /// If the market is active at all + fn is_active(&self) -> bool { + true + } +} + ``` +
+
+
+## Integration Prerequisites
+
+- Host a service that adheres to our RFQ API schema
+- Provide a webhook for Jupiter to send quotes and swap transactions
+- Complete end-to-end integration tests
+- When ready, you will be onboarded to Edge before going live on production
+
+200 OK) or indicate that it cannot provide one (404 Not Found).
+
+ For example, suppose a webhook provides quotes for USDC/SOL only within a range of 100 to 1000 USDC. If it receives a quote request for 10 USDC → SOL, it will respond with 404 Not Found, since the amount is outside its quoting range.
+
+ In another case, a webhook may only support one-way quotes (USDC → SOL) but not SOL → USDC. If it receives a request for SOL → USDC, it will also return 404 Not Found.
+
+
+
+
+
+
+
+
+
+
+
{
+ e.target.style.opacity = '1';
+ e.target.style.border = '2px solid #C8F284';
+ }}
+ onMouseLeave={(e) => {
+ e.target.style.opacity = '1';
+ e.target.style.border = '2px solid transparent';
+ }}
+ />
+
+
+
+
{
+ e.target.style.opacity = '1';
+ e.target.style.border = '2px solid #C8F284';
+ }}
+ onMouseLeave={(e) => {
+ e.target.style.opacity = '1';
+ e.target.style.border = '2px solid transparent';
+ }}
+ />
+
+
+
++ How can we help you today? +
++ Most comprehensive set of endpoints to integrate Jupiter Products into your + applications +
++ Ready-to-use components and libraries to accelerate your development +
++ Community-driven resources and examples to help you build with Jupiter +
++ Join our community and share your feedback to help us improve +
+