Create swap calldata

Create the calldata for a swap transaction (including wrap/unwrap) against the Uniswap Protocols. If the quote parameter includes the fee parameters, then the calldata will include the fee disbursement. The gas estimates will be more precise when the the response calldata would be valid if submitted on-chain.

⚠️ Warning

Do not edit calldata returned by this endpoint. Doing so and submitting on chain will likely result in loss of funds. Integrators will be responsible for loss of funds due to edited calldata.


Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!