Skip to main content


Get past or sync contract event logs.

const Transfer = Contract.useEvents(networkId, address, 'Transfer', filter, { past: true, sync: true });

Reference: Contract.useEvents


The filter parameter can be used to filter events by indexed returnValues fields. This leverages the indexing features of event logs and is often required to efficiently query only the relevent events.


Getting past events can be an expensive operation. We recommend limiting the amount of data queried using filters or block range parameters.


While some features of Web3-Redux might work with an HTTP (http://) connection, subscriptions REQUIRE a network configured with a websocket (ws://) connection.