Back to All

How to listen in Log with addresses on websockets

const filter = {
address: ["address1", "address2"]
}
alchemy.ws.on(filter, (log, event) => {...});

The document says it's OK. But my code can not work like that if the address array length > 1.

ReadMe