inputToken
a user would recover if they immediately tried to reverse the tradeinputAmount
), the trade is deemed high risk and is automatically blocked by the router. This prevents the transaction from being broadcast onchain, saving the user from a potentially significant lossrevert: true
flag and the specific error causing the Surge Protection activation
/v1/quote
API request by setting the surgeProtection
parameter to true
:
/v1/quote
endpoint to return revert: true
and will not provide
executable calldata. Your application should gracefully handle this condition
and inform the user