Java Sdk能够直接传递数组吗?

image
我需要向合约传递一个地址数组,Account的call或者ContractCall能直接传递数组吗?还是只能用web3j的方式?

send方法:

org.web3j.abi.datatypes.Function function = new org.web3j.abi.datatypes.Function(
            "creators", 
             Arrays.<Type>asList(new org.web3j.abi.datatypes.DynamicArray<Address>(
                            Address.class,
                            org.web3j.abi.Utils.typeMap(_owners, Address.class))),
            Collections.<TypeReference<?>>emptyList());
  
Contract类执行:
 executeRemoteCallTransaction(function);