web3j调用合约函数,参数为二维数组的问题

攻心至上 攻心至上 提出于 2022-01-08 14:47 5587 浏览
使用web3j调用合约的 customeFun函数,参数是一个地址时,如下:
Function function = new Function(
                "customeFun",
                Arrays.asList(
                        new Address(from)
                Arrays.asList(new TypeReference<Type>() {
                }));

如果参数是一个二维数组,该如何构造这个函数Function对象呢?

3 个回答

ETH_YYDS 2022-01-20 14:00
Tiny熊 2022-01-08 21:44

擅长:智能合约,以太坊

写回答

你需要登录后才可以回答问题,登录