Body
Address that is depositing funds on the origin chain and submitting transactions or signatures
Amount to swap as the base amount (can be switched to exact input/output using the dedicated flag), denoted in the smallest unit of the specified currency (e.g., wei for ETH)
Whether to use the amount as the output or the input for the basis of the swap
EXACT_INPUT
, EXACT_OUTPUT
, EXPECTED_OUTPUT
Address that is receiving the funds on the destination chain, if not specified then this will default to the user address
Total gas limit for the destination chain call transactions
Authorization list for EIP-7702 transactions to be executed on destination chain
Additional data needed for specific routes
Address to send the refund to in the case of failure, if not specified then the recipient address or user address is used
Always refund on the origin chain in case of any issues
If set, the destination fill will include a gas topup to the recipient (only supported for EVM chains if the requested currency is not the gas currency on the destination chain)
The destination gas topup amount in USD decimal format, e.g 100000 = $1. topupGas is required to be enabled. Defaults to 2000000 ($2)
Enable this to route payments via a receiver contract. This contract will emit an event when receiving payments before forwarding to the solver. This is needed when depositing from a smart contract as the payment will be an internal transaction and detecting such a transaction requires obtaining the transaction traces.
Enabling will send any swap surplus when doing exact output operations to the solver EOA, otherwise it will be swept to the recipient
The protocol version to use for the quote (currently experimental, do not use in production)
v1
, v2
, preferV2
Enable this to avoid direct transfers to the depository (only relevant for EVM and v2 protocol flow)
Enable this to use canonical+ bridging, trading speed for more liquidity
Enable this for specific fallback routes
Enable this to use permit (eip3009) when bridging, only works on supported currency such as usdc
Enable this to use a deposit address when bridging, in scenarios where calldata cannot be sent alongside the transaction. only works on native currency bridges.
Slippage tolerance for the swap, if not specified then the slippage tolerance is automatically calculated to avoid front-running. This value is in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage
Slippage tolerance for destination gas in the event that the deposit occurs after the order deadline, and more gas is required for the solver to execute the destination transaction.
If the request involves specifying transactions to be executed during the deposit transaction, an explicit gas limit must be set when requesting the quote
Force executing swap requests via the solver (by default, same-chain swap requests are self-executed)
If the sponsor should pay for the fees associated with the request. Includes gas topup amounts.
The max subsidization amount in USD decimal format, e.g 100000 = $1. subsidizeFees must be enabled. This amount is the threshhold where if its surpassed the entire request will not be subsidized at all.
Swap sources to include for swap routing.
Swap sources to exclude for swap routing.
Swap sources to include for swap routing on origin.
Swap sources to include for swap routing on destination.
The gas overhead for the origin chain, this is used to calculate the gas fee for the origin chain when the solver is executing a gasless transaction on the origin chain
The payer to be set for deposit transactions on solana. This account must have enough for fees and rent.
Response
Default Response
An array of steps detailing what needs to be done to bridge, steps includes multiple items of the same kind (signature, transaction, etc)
[
{
"id": "deposit",
"action": "Confirm transaction in your wallet",
"description": "Depositing funds to the relayer to execute the swap for USDC",
"kind": "transaction",
"requestId": "0x92b99e6e1ee1deeb9531b5ad7f87091b3d71254b3176de9e8b5f6c6d0bd3a331",
"items": [
{
"status": "incomplete",
"data": {
"from": "0x0CccD55A5Ac261Ea29136831eeaA93bfE07f5Db6",
"to": "0xf70da97812cb96acdf810712aa562db8dfa3dbef",
"data": "0x00fad611",
"value": "1000000000000000000",
"maxFeePerGas": "12205661344",
"maxPriorityFeePerGas": "2037863396",
"chainId": 1
},
"check": {
"endpoint": "/intents/status?requestId=0x92b99e6e1ee1deeb9531b5ad7f87091b3d71254b3176de9e8b5f6c6d0bd3a331",
"method": "GET"
}
}
]
}
]
A summary of the swap and what the user should expect to happen given an input
Protocol information for the quote