Tech

how to quote a solana swap in under 5ms

jupiter is quoting in 400ms. mobula in 5. how? the fetch-on-quote floor. to quote a route on solana you need: the candidate pools for tokenIn → tokenOut, their full state (vault balances, AMM config, CLMM tick bitmap, current sqrt_price, observation slots, meteora bin arrays, pumpfun bonding curve params), the decoded layout per protocol, and the resolved account list to encode the instruction. a 3-hop CLMM route easily references 30–50 accounts. getMultipleAccounts caps at 100 keys per
Show more

Archive