Tony D’Addeo
@deodad
every Ethereum RPC provider seems to support batching but advise against using it can anyone add more color here or give a use case where you think it's useful?
2 replies
0 recast
5 reactions
greg
@gregfromstl
We don’t advise against, we actually do it by default if you use the sdk
2 replies
0 recast
6 reactions
Tony D’Addeo
@deodad
this is from clients? what are the advantages? what's the pseudo logic for how you batch?
1 reply
0 recast
0 reaction
greg
@gregfromstl
Advantage is just performance afaik, full code is here: https://github.com/thirdweb-dev/js/blob/main/packages/thirdweb/src/rpc/rpc.ts (I'd be surprised if viem didn't do this too)
1 reply
0 recast
3 reactions