Is your feature request related to a problem? Please describe.
There's a discrepancy between the Moralis documentation (version 2.2) and the actual test webhook received when creating or updating a stream. This mismatch causes issues when validating and responding to these test webhooks.
Describe the solution you'd like
Update the documentation to accurately reflect the current test webhook structure, or adjust the test webhook to match the existing documentation.
Describe alternatives you've considered
As a temporary solution, I've adjusted my code to handle both structures (documented and actual). However, this is not ideal and could lead to future issues if the structure changes again without documentation updates.
Moralis Test Webhook
Is your feature request related to a problem? Please describe. There's a discrepancy between the Moralis documentation (version 2.2) and the actual test webhook received when creating or updating a stream. This mismatch causes issues when validating and responding to these test webhooks.
Describe the solution you'd like Update the documentation to accurately reflect the current test webhook structure, or adjust the test webhook to match the existing documentation.
Describe alternatives you've considered As a temporary solution, I've adjusted my code to handle both structures (documented and actual). However, this is not ideal and could lead to future issues if the structure changes again without documentation updates.
Additional context Documented structure:
Actual received structure:
Key differences:
abi
is an empty array[]
instead of an empty object{}
.nftTokenApprovals
andnativeBalances
.nftApprovals
.