Skip to content
docs

kyberSourceKind

kyberSourceKind(chainId, exchange, poolType?): "rfq" | "limit-order" | "pool"

Defined in: protocol-swap2-kyberswap/src/router.ts:103

What a route hop’s liquidity is: an RFQ market maker, a KyberSwap limit order, or anything else (a pool, a proprietary AMM). Read from the hop as GET /routes returns it: poolType (“orderbook” for an RFQ maker, “limit-order” for a limit order) or the source id — the part before “/” when KyberSwap names a fallback after it (“pmm-19/uniswapv3”: the maker, and the pool the route falls back to when the maker does not sign).

number

unknown

unknown

"rfq" | "limit-order" | "pool"