You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WS Public Client (as opposed to the Fallback provider) supports eth_subscribe (see Viem issue here for the Fallback provider issue). The Fallback provider instead uses polling over the WS transport. Polling can be inefficient and results in higher usage in compute unit style infra providers like Alchemy.
A developer might expect the hook to return a websocket client that supports websocket methods like eth_subscribe instead of polling.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The WS Public Client (as opposed to the Fallback provider) supports
eth_subscribe
(see Viem issue here for the Fallback provider issue). The Fallback provider instead uses polling over the WS transport. Polling can be inefficient and results in higher usage in compute unit style infra providers like Alchemy.A developer might expect the hook to return a websocket client that supports websocket methods like
eth_subscribe
instead of polling.Beta Was this translation helpful? Give feedback.
All reactions