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:Documentation Index
Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
Use this file to discover all available pages before exploring further.
Mode 1: Boolean
The API returns anisSpam attribute with values true or false based on Crossmint’s default rules.
See sample response
See sample response
Mode 2: Spam Score
The API returns aspamScore between 0-100 (100 = most likely to be spam), so you can adjust your tolerance threshold.
See sample response
See sample response

