Hi! I’m new to Moralis Streams, it looks really great, but I cannot uderstand one thing. When I register a stream, and then update it with ABI and specify the event (topic) on which to update, I’m getting updated on all events, and in the payload I don’t even see the info which event triggered this notification. Am I doing something wrong?
const ABI = [
{
"anonymous": false,
"inputs": [
{ "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" },
{ "indexed": true, "internalType": "address", "name": "account", "type": "address" },
{ "indexed": true, "internalType": "address", "name": "sender", "type": "address" }
],
"name": "SomeEvent",
"type": "event"
},
];
const response = await Moralis.Streams.update({
id: "78893459-1a28-44bb-8215-77f69c826209",
abi: ABI,
includeContractLogs: true,
topic0: ["SomeEvent(bytes32, address, address)"],
description: "My first stream updated",
});