Tx explain hits token limit with transactions that have 70+ logs (estimate based on testing).
Possible solutions: Compressing call trace data, Using only asset changes object
Example transaction:
https://etherscan.io/tx/0x3212df955f1ff00f04cab390ad2cd8c21982a6d4cbc8db8805c2aa892975cfb5
Response from claude:
Error streaming explanation: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'prompt is too long: 214668 tokens > 199999 maximum'}}