No. Do not hardcode Enso contract addresses in your product. Send each transaction to the tx.to returned by the Route or Bundle API, and approve the spender returned in the response. The deployments page is for inspection only.
Definition
The execution contract depends on the chain and the routing strategy (router, delegate, or others). Hardcoding a single address can point a user at the wrong contract, the wrong strategy, or a stale deployment.
How it works
Request a route or bundle for the current intent.
Use
tx.to,tx.data, andtx.valuefrom that response, unchanged.If an ERC-20 approval is required, approve the spender in the response’s approval data, not an address copied from a table.
If you need to inspect deployments, open the docs page, but still submit
tx.tofrom the API.
How Enso does this
Contracts and Deployments states that /route and /bundle responses include the execution contract in response.tx.to, and that you should approve the spender returned in approvals, not an address from that page. The FAQ says the same: submit the returned transaction exactly as provided.
FAQ
Why does the deployments page list addresses then?
So you can inspect and recognize contracts in a transaction trace. It is not a list to paste into production code.
Does this change if I use a smart wallet?
The target still comes from tx.to. The delegate strategy uses a different execution pattern, but you still submit the returned transaction as-is.
Related articles
What if token allowance is too low?
How do I submit Enso transaction data from my app?
What is a routing strategy?
Is it safe to use Enso?
Why did the transaction fail on-chain after I got a quote?
