Skip to content

TOKEN_API_NO_OR_FILTER: swaps endpoint requires two parallel calls #529

Description

@chillsauce

/v1/evm/swaps has separate input_contract and output_contract filters but no OR / “either side” filter. Clients must issue two parallel calls and merge to get all swaps for a token. Doubles latency and rate-limit consumption on every detail-page render.

Proposed change. Add an involves_contract (or token_contract) filter that matches either side.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions