Support deployless call batch (instead of N rpc queries) #3861
Unanswered
Rubilmax
asked this question in
Idea / Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, if I want to perform N deployless calls, viem will perform N rpc queries
Maybe we could batch these with the help of a "deployless multicall" contract similar to: https://github.com/wevm/viem/blob/main/contracts/src/deployless/DeploylessCallViaBytecode.sol
Taking an array
{ bytecode, data }[]
which for each item deploys the bytecode, callsdata
on it and pushes the returndata in abytes[]
array returned at the end?Beta Was this translation helpful? Give feedback.
All reactions