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

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 /chains endpoint to see current support.
  • Slippage is sent to Nordstern as a percentage. spanDEX converts the standard slippageBps (basis points) value automatically (slippageBps / 100).
  • When integratorSwapFeeBps and integratorFeeAddress are set, spanDEX forwards them as Nordstern's convenienceFee and convenienceFeeRecipient.
  • Nordstern's response does not include a gas-price estimate, so networkFee is reported as 0n. Estimate gas yourself before submission if you need it.
  • Approvals must target the Nordstern router (tx.to from the response); spanDEX surfaces this on the approval field of the returned quote.