Too many requests were performed on the ES for fetching NFT names, namely for every transaction that transferred NFTs, a separate ES query was made, thus potentially overloading the ES with a lot of queries on each api call that had the withOperations=true parameter activated
Proposed Changes
perform the fetching of NFT names as a batch for all transactions, not each individual one, thus optimizing the number of round-trips with ES
How to test
/accounts/erd1qqqqqqqqqqqqqpgq6wegs2xkypfpync8mn2sa5cmpqjlvrhwz5nqgepyg8/transactions?function=bulkBuy&withOperations=true&withLogs=true&withScResults=true&size=50 should perform only one round-trip to ES to fetch NFT names
Reasoning
withOperations=true
parameter activatedProposed Changes
How to test
/accounts/erd1qqqqqqqqqqqqqpgq6wegs2xkypfpync8mn2sa5cmpqjlvrhwz5nqgepyg8/transactions?function=bulkBuy&withOperations=true&withLogs=true&withScResults=true&size=50
should perform only one round-trip to ES to fetch NFT names