Skip to content

Filtering scam/shit tokens and dead pairs/pools #56

@EthereumDevtech

Description

@EthereumDevtech

Hello,

As an enthusiastic developer, I’m currently integrating Uniswap with one of my applications and facing a challenge: there are thousands of scam/shit tokens (honeypots, tax tokens, etc.) on Uniswap.

I’d like to filter these tokens out. I prefer not to rely on third-party services, since their rules are often too strict and end up excluding many legitimate tokens. My rule is simple: a token should be considered valid if it can actually be transferred or swapped.

My questions are:

Does Uniswap provide any feature for this kind of filtering?

Does the Uniswap Subgraph support it? (I’ve noticed some invalid/incorrect values in the subgraphs, so I’m hesitant to fully rely on them.)

What would be considered best practice for handling this?

Additionally, I’d also like to filter out dead pairs/pools. By this I mean pairs with extremely low liquidity/reserves and no recent activity.

Any guidance would be greatly appreciated.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions