Dear Moralis Support Team,
In a part of our project, we utilize the Moralis transaction API to acquire the transactions of a wallet. However, we’ve encountered an issue while calling the APIs.
When invoking the “Get decoded transactions by wallet” API, we receive all the native transactions of a wallet. To differentiate between the failed or canceled transactions and the regular ones, we check the receipt_status of a transaction. Ideally, this should yield true or false, or ‘0’ or ‘1’ in the API, but sometimes its value in this API appears as None.
The None value presents ambiguity as in reality, it should either be ‘0’ or ‘1’. To ascertain the correct value, we must call the ‘Get decoded transaction by hash’ API. This indicates that Moralis indeed has the correct value, but for some transactions in the initial API, the value is None.
Due to this issue, our project has to call the latter API for those transactions with None receipt_status. This adds a significant load to our project as we must call the Moralis API per transaction.
Would it be possible for you to address this issue in the “Get decoded transactions by wallet” API, to eliminate the need for calling the other API for each transaction?
Best regards,
Shadi