DeFi Shortcuts
Quote from a token to another
Returns the expected output amount and selected route for a token swap without executable transaction calldata.
GET
Quote from a token to another
Query Parameters
Chain ID of the network to execute the quote on
Ethereum address of the wallet to quote from
Example:
"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
Ethereum address of the token to swap from. For ETH, use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Available options:
0x, 1inch, openocean, kyberswap, native, paraswap, bebop, barter, sushiswap-router, ooga-booga, renegade, uniswap, rooster, wowmax, grapher, hyperbloom, hyperswap, hyperflow, fly, eisen, nordstern, everlong, bitget Example:
Ethereum address of the token to swap to. For ETH, use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Available options:
0x, 1inch, openocean, kyberswap, native, paraswap, bebop, barter, sushiswap-router, ooga-booga, renegade, uniswap, rooster, wowmax, grapher, hyperbloom, hyperswap, hyperflow, fly, eisen, nordstern, everlong, bitget Example:
Amount of tokenIn to swap in wei
Available options:
cctp, stargate, ccip, relay Example:
Routing strategy to use
Available options:
ensowallet-v2, router, delegate, router-legacy, delegate-legacy A list of swap aggregators to be ignored from consideration
Available options:
0x, 1inch, openocean, kyberswap, native, paraswap, bebop, barter, sushiswap-router, ooga-booga, renegade, uniswap, rooster, wowmax, grapher, hyperbloom, hyperswap, hyperflow, fly, eisen, nordstern, everlong, bitget A list of standards to be ignored from consideration
