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
A lot of features require multiple RPC requests to the same contract:
Fetching ERC20 symbol and decimals
Fetching spending limits
Recovery
Proposed solution
We could reduce our RPC requests by batching multiple requests into one using the Multicall3 contract.
Therefore we should create a helper function to batch RPC call, which tries to use Multicall3 and fetched individually as a fallback.
Dependencies & risks
We need to make sure that the Multicall3 contract is deployed on every network (it should be as it is deployed on 250+ chains)
The text was updated successfully, but these errors were encountered:
Problem
A lot of features require multiple RPC requests to the same contract:
Proposed solution
We could reduce our RPC requests by batching multiple requests into one using the Multicall3 contract.
Therefore we should create a helper function to batch RPC call, which tries to use Multicall3 and fetched individually as a fallback.
Dependencies & risks
The text was updated successfully, but these errors were encountered: