Skip to content
docs

SYMBIOSIS_API

const SYMBIOSIS_API: "https://api.symbiosis.finance/crosschain" = "https://api.symbiosis.finance/crosschain"

Defined in: protocol-swap2-symbiosis/src/config.ts:23

Symbiosis deployments this module is bound to. Every address below is taken from Symbiosis’ own published configuration and re-read on-chain (scripts/verify-live.mjs):

  • gateway — MetaRouterGateway: the ONLY contract a source transaction calls and the ONLY spender an ERC-20 / TRC-20 approval may name. It pulls the sell amount and hands it to the chain’s MetaRouter (executor), which is never approved by a user.
  • portal / bridge — the chain’s Portal (locks and releases real tokens) and the relayers’ Bridge entry; the calldata names both for the destination leg.
  • host chain — Symbiosis’ own chain (id 13863860) where every swap is routed through the stable pools (“octopool”): its Synthesis and Bridge are named in every source call. Its pools, their token indexes and the synthetic-token map are pinned in pools.ts.

Chains Symbiosis serves that are not listed here are simply not offered by this module.