Description
Some tokens silently fail during trading — BRETT is on LiFi's deny list and had no OKX liquidity, AERO reverted on-chain without a clear reason (LiFi returned 502). In both cases the CLI doesn't tell the user why it failed.
Current Behavior
- Denied tokens: quote may succeed but execution fails or reverts, wasting gas
- Reverted swaps: user sees a generic revert with no explanation
Expected Behavior
- Check token support/deny lists before quoting (LiFi and OKX both expose this)
- Surface the deny-list reason in the error message
- On revert, attempt to decode the revert reason and display it
Examples from Testing
- BRETT (
0x532f27101965dd16442E59d40670FaF5eBB142E4) — LiFi deny list, no OKX liquidity
- AERO — ETH→AERO reverted on-chain, LiFi 502: reverted tx
- Cost: 2 failed txs wasted ~$0.02 gas
Description
Some tokens silently fail during trading — BRETT is on LiFi's deny list and had no OKX liquidity, AERO reverted on-chain without a clear reason (LiFi returned 502). In both cases the CLI doesn't tell the user why it failed.
Current Behavior
Expected Behavior
Examples from Testing
0x532f27101965dd16442E59d40670FaF5eBB142E4) — LiFi deny list, no OKX liquidity