Open vincentail opened 2 years ago
in smart contract i decode parameter like abi.decode(message, (string, uint64, string, uint64)) how can i encode the parameters as web3js web3.eth.abi.encodeParameters(['string', 'uint64', string, uint64], [a, b, c, d]) by web3j
abi.decode(message, (string, uint64, string, uint64))
thanks
Have you tried TransactionEncoder class?
in smart contract i decode parameter like
abi.decode(message, (string, uint64, string, uint64))
how can i encode the parameters as web3js web3.eth.abi.encodeParameters(['string', 'uint64', string, uint64], [a, b, c, d]) by web3jthanks