Skip to main content
Before initiating a cross-chain transfer or creating an intent, you can request a quote from Chainrails. The quote engine provides comprehensive information about how a transaction will be executed — including the route, estimated fees, and destination amount. This allows your app to show users exactly what to expect before they fund the transaction.

Requesting Quotes

The quote engine provides comprehensive cross-chain transfer quotes from a single bridge, multiple bridges or even multiple source chains. You can retrieve:
Some quote endpoints take in an optional amountSymbol parameter which can be used to specify the denomination of the amount you want to send. For quotes in USD, you can either set amountSymbol to USDC (or leave it empty).You can quote in a different denomination than the token you want to send. For example, you can set amountSymbol to USDC, while sending ETH as tokenIn

A single quote for a specific route

Or a multi-source quote for a given destination chain

Useful for when you want to show users all source options and their respective fees to send funds to a specific destination chain.
You can also get quotes from multiple bridges for a specific route, filter for best quotes and more. See the API reference for all available quote endpoints.
For most cases, you would want to use the multi-source quoting as it shows the user all the best quotes to choose from.

The Routing Engine

The Routing Engine provides extensive details about supported bridges, their available routes, and the optimal route for a given transfer intent. For most use cases, the quote engine is sufficient but if you want more fine grained control over bridge selection, you can use the routing engine directly. You can consult the API reference for all available routing endpoints.

Parameters Reference