Skip to main content
Robinhood Chain. They apply to that one request only.

Exclude

Pools the quote never routes through. Each entry is a pool or pair contract address (0x + 40 hex), a Uniswap v4 or PancakeSwap Infinity pool id (0x + 64 hex), or a hook address (every v4 or Infinity pool with that hook). Case-insensitive. Give one exclude parameter with a comma-separated list; it also applies to streams.

Prefer

Pools you would rather route through, for example your own. Route quotes twice: normally, and with every hop that has a preferred pool limited to those pools. It returns the preferred plan only if it puts more of the input through preferred pools and its net output (after gas) is at most preferBps below the normal quote’s. The response then has: A pool in both lists is excluded.

JIT routing

With jit=1 on a build, Route’s JIT module picks the best of the quoted plan and its alternates when the transaction executes, instead of only at quote time. Quoted amounts and minOut do not change. JIT transactions use about 2.3 to 3.5 times the gas of a plain swap. A key can have JIT on by default; jit=0 turns it off for one request.