Hi, i can successfully query my contract’s events using the test endpoint here:
i provide my event’s ABI, contract address and other params and the data item for each event comes back populated as expected.
When I call the SDK function from my own node script, i receive the same events (same envelope data such as block_number etc) but the data object is empty: {}.
i have confirmed that the supplied ABI is the same in both cases.
any idea why this might be happening?
one thing worth pointing out is that the generated Node.js code did not work when imported directly: the options object was not as the SDK expected (e.g. it expected an abi item whereas the generated code placed the ABI items directly into the options object i.e. not contained within an ‘abi’ field).
i am on the free plan. i have checked i have CU remaining.
i wonder, is it possible that the 300 daily streams records for the free plan could result in empty data here?
many thanks for any help