-
Hi, my question relates to #1188. What I want is to call a contract method when I only know the hexadecimal method address and their typed parameters. I examined FunctionFragment, but this needs a human readable function from a ABI file. I have found signer.populateTransaction, but I do not get the idea how to fill easily the data field. Is it even allowed to [signer.]populateTransaction and pass the result to [provider.]call ? :) Is there any utility function to create data by known method address and known parameters? Kind regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If anyone is searching for a solution, here it is one way to achieve it.
|
Beta Was this translation helpful? Give feedback.
If anyone is searching for a solution, here it is one way to achieve it.