如何使用Web3j Android | Java在合同转移功能中传递自定义数据?

时间:2018-10-13 13:58:12

标签: java android blockchain web3-java

HumanStandardToken.java

HumanStandardTokenV2 bobsContract = HumanStandardTokenV2.load(lsBinaryData, contractAddress, web3, loCredential, loGasPrice, lsGasLimit);

TransactionReceipt loTransactionReceipt = bobsContract.transfer(lsToAddress, loTokenValue).sendAsync().get();

这里是否可以传递自定义数据,请给我一个例子

0 个答案:

没有答案