Integrating Coral

If you don't already have Squid integrated apply for an integrator ID and follow the Widget Integration or API & SDK Integration documentation.

**Once you have integrated Squid, you can reach out the team who will enable Coral on your integrator ID.

Changes To Route Request and Transactions

Integrating Coral is easy and applied directly to Squid's traditional route request flow. Coral routes will be chosen when they are available.

There are only two changes you need to be aware of when Coral is enabled on your integrator ID.

  1. The route returns an expiry value that you have to submit the transaction before, otherwise the transactions will be reverted and refunded. This expiry value is ~25 seconds after the route is requested.

  2. There is also new status: refunded. This happens in case of any failure on the destination chain. With Coral, instead of getting axlUSDC on destination chain, you get your source token refunded on the source chain.

Last updated