Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Reference: sushi/evm

sushi/evm is the EVM-specific package entrypoint.

import { getQuote, EvmToken, SushiSwapV2Pool } from "sushi/evm";

Modules

ModuleDocsPurpose
apiAPIHosted Sushi price, quote, and swap helpers.
chainChainEVM chain registry and chain ID helpers.
currencyCurrencyEVM tokens, native assets, schemas, and address helpers.
configConfigFeature support, known tokens, wrapped native assets, subgraphs, addresses.
dexDEXDEX enums and local math errors.
poolPoolLocal V2/V3 pool and position math.
abiABIContract ABI exports for viem usage.
token-listToken ListToken-list types and URL constants.
formatFormatEVM display helpers.
utilsUtilsLow-level EVM helpers.
validateValidateEVM validation helpers.
typesTypesEVM domain and API types.

API helpers call Sushiโ€™s hosted API. Pool classes and utilities compute locally from data you provide.