Get Quote
Fetch a real-time quote for swapping a specified token amount from one chain to another. Check out the getQuote API template script for implementation details.
Authorization
x-authorization-secret<token>Trade Service Secret (set this to the value of TRADE_SERVICE_SECRET from .env)
In: header
Request Body
application/jsonRequiredfromTokenRequiredstringfromChainRequiredstringtoTokenRequiredstringtoChainRequiredstringsameChainFeestringsameChainFeeCollectorstringcrossChainFeestringcrossChainFeeCollectorstringfromAmountRequiredstringslippagestringfromUserWalletAddressstringtoUserWalletAddressstringFetched