Summary
The older user quote endpoint is deprecated in favour of an improved replacement. It continues to work for now, but it will be removed in a future release, so we recommend migrating at your earliest convenience. If you use the SDK, upgrading to the latest version routes user quote calls to the replacement endpoint with no code changes required.We recommend keeping your SDK up to date regardless of the changes below, so that you always benefit from the latest endpoints, fixes and improvements.
User quote endpoint
Theuser quote endpoint is deprecated in favour of the bridge and swap quote endpoint, which returns quotes for both plain bridges and bridge-swaps:
POST /bridge/quote/useris replaced byPOST /bridge/quote/bridge-swap/user
Using the SDK
No code change is required. From the latest version, the existing quote functions are aliased to the new endpoints behind the scenes — you only need to upgrade your SDK.Calling the API directly
Point your requests at the new endpoint. The bridge & swap quote endpoint returns quotes for both bridges and bridge-swaps.The request body for the bridge & swap quote endpoint differs slightly from the deprecated endpoint. See the API Reference for the full request and response format.