Get quote with custom preset details (v1.2 with fee support)
Supported on: Ethereum Base Solana BNB Chain Gnosis Optimism Polygon Linea Sonic Unichain Arbitrum Avalanche ZKsync
Parameters
srcChain
* number queryId of source chain
dstChain
* number queryId of destination chain
srcTokenAddress
* string queryAddress of "SOURCE" token
dstTokenAddress
* string queryAddress of "DESTINATION" token
amount
* string queryAmount to take from "SOURCE" token to get "DESTINATION" token
walletAddress
* string queryAn address of the wallet or contract who will create Fusion order
enableEstimate
* boolean queryif enabled then get estimation from 1inch swap builder and generates quoteId, by default is false
isPermit2
string querypermit2 allowance transfer encoded call
fee
number queryIntegrator fee in basis points (1 = 0.01%)
feeReceiver
string queryAddress to receive integrator fee (required when fee is provided)
permit
string querypermit, user approval sign
Request Body
Custom preset parameters for order configuration
JavaScript
Copy
1
Returns
200
400
default
200 response doesn’t have payload.