SDK
Bridge API
Learn how to use the SDK to interact with the bridge API directly.
Introduction
You can use the bridge API directly if you need some additional data or if your application requires more control over the bridge flow. For that the SDK offers a typesafe wrapper around the Rhino API through a dedicated object. The following sections showcase some common use cases for this.
Fetch bridge or token configs
Generate and commit bridge quotes
The bridge functions in the SDK will already handle this logic for you. You should only do this manually if you have a very specific use case that is not covered by those.
Fetch bridge status or history
If you want to check the status of a bridge or fetch the history of your app, you can use the following functions:
Querying the bridge history is only possible with a secret API key. Learn more about API keys