intermediateAllowed
intermediateAllowed(
chainId,deployment,token):boolean
Defined in: protocol-swap2-curve/src/routes.ts:45
Whether a route may hand the swap through token between two hops on chainId: the router’s native sentinel, the
pinned wrapped native, or a token the swap2-assets catalog lists on that chain, matched by address. The source and
the destination follow the engine’s listed / unlisted token policy instead (as for every provider).
Parameters
Section titled “Parameters”chainId
Section titled “chainId”number
deployment
Section titled “deployment”string
Returns
Section titled “Returns”boolean