Documentation Index
Fetch the complete documentation index at: https://docs.relay.link/llms.txt
Use this file to discover all available pages before exploring further.
Before you start
While not mandatory for integration, doing the following will improve the UX for your users considerably:- Verify user balance - Ensure the user has sufficient funds for the bridge amount plus fees
- Check chain support - Confirm both origin and destination chains are supported
- Validate quote - Quotes are revalidated when being filled, keep your quotes as fresh as possible.
- Handle errors - Implement proper error handling for API requests and transaction failures
Get a Quote
Get a Quote
Every action in Relay starts with a Quote, this includes bridging. The quote provides all necessary information including fees, transaction data, and execution steps. Use the quote endpoint to request a bridge quote.Monitor Bridge Status
Monitor Bridge Status
You can check the status of a bridge operation at any time using the status endpoint with therequestId located inside each step object in your quote response.See Also
- App Fees: Monetize your integration by adding a fee (in bps) to every quote.
- Deposit Addresses: Use Relay deposit addresses to unlock new chains and reduce wallet friction.
- Fee Sponsorship: Sponsor fees for your users to reduce friction and improve the user experience.
- Handling Errors: Handle quote errors when using the Relay API.
- Relay Fees: Understand the fees associated with using the Relay API.