callStatic function update request #2974
Webster1234
started this conversation in
General
Replies: 1 comment
-
Fallback/receive methods can be called using following snippet: await provider.call({
to: '0xContractAddr',
data: '0x', // for receive or for fallback '0xData'
value: 0 // or parseEther('1')
}) |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the Feature
Hello dev , Could you make this function simulate transactions other than contracts (like transfer),by the way, will fallback function and receive function of contracts work?
Beta Was this translation helpful? Give feedback.
All reactions