Swap Multi-Input
This API returns an executable quote for swapping tokens from multiple origin chains to a single destination chain
Body
EXACT_INPUT
Response
An array of steps detailing what needs to be done to bridge, steps includes multiple items of the same kind (signature, transaction, etc)
Unique identifier tied to the step
A call to action for the step
A short description of the step and what it entails
The kind of step, can either be a transaction or a signature. Transaction steps require submitting a transaction while signature steps require submitting a signature
A unique identifier for this step, tying all related transactions together
While uncommon it is possible for steps to contain multiple items of the same kind (transaction/signature) grouped together that can be executed simultaneously.
Can either be complete or incomplete, this can be locally controlled once the step item is completed (depending on the kind) and the check object (if returned) has been verified. Once all step items are complete, the bridge is complete
Details an endpoint and a method you should poll to get confirmation, the endpoint should return a boolean success flag which can be used to determine if the step item is complete
Origin chain gas fee
Combination of the relayerGas and relayerService to give you the full relayer fee
Destination chain gas fee
Fees paid to the relay solver, note that this value can be negative (which represents network rewards for moving in a direction that optimizes liquidity distribution)
Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app
A summary of the swap and what the user should expect to happen given an input
The operation that will be performed, possible options are send, swap, wrap, unwrap, bridge
Estimated swap time in seconds
The user's balance in the given currency on the origin chain
The address that deposited the funds
The address that will be receiving the swap output
The swap rate which is equal to 1 input unit in the output unit, e.g. 1 USDC -> x ETH. This value can fluctuate based on gas and fees.