swap-service
Functions
<dl> <dt><a href="#getUniswapV3Quote">getUniswapV3Quote()</a></dt> <dd><p>Get swap quote from Uniswap V3</p> </dd> <dt><a href="#getZeroxQuote">getZeroxQuote()</a></dt> <dd><p>Get swap quote from 0x API</p> </dd> <dt><a href="#executeSwap">executeSwap()</a></dt> <dd><p>Execute a token swap</p> </dd> <dt><a href="#getBestQuote">getBestQuote()</a></dt> <dd><p>Get best quote across all providers</p> </dd> <dt><a href="#getSupportedSwapChains">getSupportedSwapChains()</a></dt> <dd><p>Get supported chains for swaps</p> </dd> <dt><a href="#getSupportedTokens">getSupportedTokens()</a></dt> <dd><p>Get supported tokens for a chain</p> </dd> </dl>
<a name="getUniswapV3Quote"></a>
getUniswapV3Quote()
Get swap quote from Uniswap V3
Kind: global function
<a name="getZeroxQuote"></a>
getZeroxQuote()
Get swap quote from 0x API
Kind: global function
<a name="executeSwap"></a>
executeSwap()
Execute a token swap
Kind: global function
<a name="getBestQuote"></a>
getBestQuote()
Get best quote across all providers
Kind: global function
<a name="getSupportedSwapChains"></a>
getSupportedSwapChains()
Get supported chains for swaps
Kind: global function
<a name="getSupportedTokens"></a>
getSupportedTokens()
Get supported tokens for a chain
Kind: global function