web3j
web3j copied to clipboard
Question: How to call contract with nested (two dimensional) array in argument
Nested (two dimensional) array in argument
I've got a contract function that has a two-dimensional array as an argument. E.g
function foo(address[] memory a1, address[][] memory path)
How can I create a function description for web3j to call it?
Hi @conor10 does we3j currently support the two dimensional array now ?
@Pana At the end of the day, I ended up using headlong project for encoding such contract calls. Maybe it would be helpful.