Bridging
Once a quote has been obtained via Quoting, the details of the quote can be used to construct a bridge transaction for the user to sign and submit to the origin chain.
Bridges through Synapse Intent Network (SIN) utilize the Synapse Router - Refer to those docs for more detail.
If you are interested in integrating with Synapse Intent Network (SIN) Bridging, refer to the Synapse Bridge SDK.
Alternatively, you can explore the Bridge REST API.
Exclusivity
As of FastBridgeV2, it is possible for integrators to optionally assign temporary exclusive fill rights to certain relayers.
IE: For a temporary period of time, only the relayer chosen and assigned by the integrator will be able to execute the relay.
For details on Exclusivity and how to create these types of bridges, see Exclusivity
Effects of a bridge Transaction
If sufficient funds and approvals exist, the bridging funds will be transferred from the User to the FastBridge contract.
The funds will remain with the contract in escrow until:
- Claiming occurs, which transfers the funds to the Relayer as reimbursement for completing the relay on the destination.
or
- Canceling occurs, which returns the funds to the
originSender
.
Additionally, a BridgeRequested event will be emitted which contains all instructions for the bridge to be completed by Relayers
Next steps
Relayers will observe the bridge transaction via the BridgeRequested event and proceed to Relaying if it meets all of their criteria.