Skip to main content

useGetPastLogs

These hooks are designed to fetch raw contract event logs without the Contract abstraction. This can enable additional optimization in certain scenarios (eg. fetching logs from multiple contracts).

Fetch past logs using raw subscribe filter. Enables syncing event across multiple smart contracts efficiently.

Reference: ContractEvent.useGetPastLogs

danger

This hook is experimental.