useEventSubscription
Last updated
Was this helpful?
Last updated
Was this helpful?
A hook for subscribing to events for a specific contract. This hook should only be called once. Only events emitted after the subscription has been established will be available. See to learn more about setting dApp defaults for how long events should live in state before being removed.