spanDEX
AI summary of the linked articlespanDEX is a TypeScript library, published as @spandex/core, for fetching swap quotes from multiple decentralized exchange providers. The article is a code snippet showing how getQuote is called with a chain ID, input and output token addresses, an exact-input amount, slippage in basis points, and a strategy option set to bestPrice. The example swaps 1 WETH for USDbC on Base (chain ID 8453), and it throws an error if no provider returns a successful quote. |
Recommended by 3 curators |
1 comment |
