Custom hook to fetch the block number of a specific network, despite being supported or not by the app config.
It has a default refetch interval of 10 seconds that can be overridden by passing the options object.
The parameters for the hook.
The chain object representing the network.
Optional
Additional options for the useSuspenseQuery hook.
Custom hook to fetch the block number of a specific network, despite being supported or not by the app config.
Dev
It has a default refetch interval of 10 seconds that can be overridden by passing the options object.