Closed realtebo closed 4 years ago
Hi @realtebo,
You need to encode your function call according to Ethereum's ABI. You can use this library for this: https://github.com/ethereumjs/ethereumjs-abi
You should probably web3.js or ethers.js, as they are higher level libraries than this one.
I'm closing this issue. Feel free to comment if you have other doubts.
Thanks.
Googling I found a LOT easier solution... I found encodeABI() function in the web3js official library
Your examnple
How to create data having contract abi and params value!?