Nordstern
Configuration
import { createConfig, nordstern } from "@spandex/core";
export const config = createConfig({
providers: [
nordstern({
// Optional, override the API base URL
baseUrl: undefined,
}),
// ...
],
});Notes
- Nordstern is live on 140+ EVM-compatible chains. Use the
/chainsendpoint to see current support. - Slippage is sent to Nordstern as a percentage. spanDEX converts the standard
slippageBps(basis points) value automatically (slippageBps / 100). - When
integratorSwapFeeBpsandintegratorFeeAddressare set, spanDEX forwards them as Nordstern'sconvenienceFeeandconvenienceFeeRecipient. - Nordstern's response does not include a gas-price estimate, so
networkFeeis reported as0n. Estimate gas yourself before submission if you need it. - Approvals must target the Nordstern router (
tx.tofrom the response); spanDEX surfaces this on theapprovalfield of the returned quote.