Limit number of transactions of NFT on ethereum chain

I want to implement a limit on number of transactions a NFT could have.
How should i proceed with it. Sample code to implement it using moralis server will be vv helpful.

1 Like

Hi @Skadoosh

Do you mean the limit in the database?

Take a look at https://docs.moralis.io/moralis-server/automatic-transaction-sync/smart-contract-events#beforeconsume-trigger

@Yomoo yes I want to limit number of hands exchanged. Eg: If i give limit as 5. So that NFT can only be transferred from one account to another 5 times only.

You have to do that limiting by writing some code in solidity to keep track of the number of transfers per NFT.