Advanced Topics
Spam Filters
Automatically block spam NFTs from your wallets
Spam filters require an enterprise subscription. Contact us to learn more.
Blocking spam NFTs from wallets is critical to delivering a good user experience and keeping your users safe, specially in low cost chains where spam is widespread.
Once spam filters are enabled for your project, the API to get NFTs from a wallet will flag spam NFTs, which you can use to hide potentially malicious assets.
You can access this information in two ways:
Mode 1: Boolean
The API returns an isSpam
attribute with values true
or false
based on Crossmint’s default rules.
Mode 2: Spam Score
The API returns a spamScore
between 0-100 (100 = most likely to be spam), so you can adjust your tolerance threshold.