web3j
web3j copied to clipboard
How can i encode data
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
thanks
Have you tried TransactionEncoder class?