0x-parser version
2.12.0
Unexpected behavior
The parser returns null or fails to parse swap data for:
-
https://optimistic.etherscan.io/tx/0xdee6f4fea0250f297ed9663c4ca4479e8a253c62e16faa60759e25832cd1f34f
- wstETH → ETH swap on Optimism
-
https://basescan.org/tx/0x701a78e3d6fe85f45b488c8dd77f589ccb98f609620cd9abeb03c8e926f70f96
- AERO → USDC swap on Base routing through Aerodrome + BMX + Uniswap V3 + Balancer
Both scenarios result in failed parsing despite being valid swap transactions.
Expected behavior
The parser should successfully extract swap data for both scenarios:
- The first txn mentioned above should return:
{
"tokenIn": {
"symbol": "wstETH",
"amount": "0.008868",
"address": "0x.."
},
"tokenOut": {
"symbol": "ETH",
"amount": "0.010671015314389981",
"address": "0x.."
}
}
- The second txn should return:
{
"tokenIn": {
"symbol": "AERO",
"amount": "1234.567",
"address": "0x..."
},
"tokenOut": {
"symbol": "USDC",
"amount": "890.123",
"address": "0x..."
}
}
The parser should handle these by using transfer logs to determine what the user sent and received.
Steps to reproduce
No response
Minimal reproducible demo of issue
No response
Anything else?
No response
0x-parser version
2.12.0
Unexpected behavior
The parser returns
nullor fails to parse swap data for:https://optimistic.etherscan.io/tx/0xdee6f4fea0250f297ed9663c4ca4479e8a253c62e16faa60759e25832cd1f34f
https://basescan.org/tx/0x701a78e3d6fe85f45b488c8dd77f589ccb98f609620cd9abeb03c8e926f70f96
Both scenarios result in failed parsing despite being valid swap transactions.
Expected behavior
The parser should successfully extract swap data for both scenarios:
{ "tokenIn": { "symbol": "wstETH", "amount": "0.008868", "address": "0x.." }, "tokenOut": { "symbol": "ETH", "amount": "0.010671015314389981", "address": "0x.." } }{ "tokenIn": { "symbol": "AERO", "amount": "1234.567", "address": "0x..." }, "tokenOut": { "symbol": "USDC", "amount": "890.123", "address": "0x..." } }The parser should handle these by using transfer logs to determine what the user sent and received.
Steps to reproduce
No response
Minimal reproducible demo of issue
No response
Anything else?
No response