Quickstart
This guide walks you through integrating our bridge API into your application. By following these steps, you’ll be able to transfer assets between chains using our API and smart contract interactions.
Quickstart
The whole process consists of:
Authentication
Get an API key to authenticate your requests.
Fetching bridge configs
Retrieve supported chains and tokens.
Getting a bridge quote
Obtain transaction details, including fees.
Committing the quote
Confirm the transaction.
Executing the bridge transaction
Interact with the smart contract to complete the transfer.
1. Authentication
All non-public API endpoints are authenticated using a bearer token. To authenticate your requests, include the token in the Authorization
header.
The authentication token can be obtained by reaching out to us. We’ll provide you with a unique API key that you can use to access our API.
Use the form below to get in touch with us:
Reach out to us for an API key
We’ll get back to you as soon as possible!
2. Fetch Bridge Configs
Retrieve available chains and supported tokens to ensure your transaction uses the correct parameters.
For the exact response format and more details, see the API Reference.
3. Get a Bridge Quote
Before executing a bridge transaction, you must generate a quote that provides transaction details, including fees and amounts.
For the exact request / response format and more details, see the API Reference.
4. Commit the Quote
Once you have a quote, you must commit it to confirm the transaction before execution.
For the exact request / response format and more details, see the API Reference.
5. Execute the Bridge Transaction
Now, you can execute the bridge transaction by interacting with the smart contract.
See examples for interacting with the bridge smart contracts across different blockchain environments.
6. Full Example
Here’s the complete implementation combining all the steps above:
For a detailed breakdown of API endpoints and parameters, check the API Reference.
Next steps
For the smart contract integration see - contract examples
To track your bridge transaction status, see Bridge Status & History.