public class SmartContractRpc extends Object implements SmartContract
| Constructor and Description |
|---|
SmartContractRpc(String abi,
org.web3j.protocol.Web3j web3j,
EthAccount sender,
EthAddress address,
BlockchainProxyRpc bcProxy) |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
callConstFunction(String functionName,
Object... args) |
CompletableFuture<Object[]> |
callFunction(EthValue value,
String functionName,
Object... args) |
CompletableFuture<Object[]> |
callFunction(String functionName,
Object... args) |
EthAddress |
getAddress() |
List<org.ethereum.core.CallTransaction.Function> |
getFunctions() |
public SmartContractRpc(String abi, org.web3j.protocol.Web3j web3j, EthAccount sender, EthAddress address, BlockchainProxyRpc bcProxy)
public List<org.ethereum.core.CallTransaction.Function> getFunctions()
getFunctions in interface SmartContractpublic Object[] callConstFunction(String functionName, Object... args)
callConstFunction in interface SmartContractpublic CompletableFuture<Object[]> callFunction(String functionName, Object... args)
callFunction in interface SmartContractpublic CompletableFuture<Object[]> callFunction(EthValue value, String functionName, Object... args)
public EthAddress getAddress()
Copyright © 2016. All rights reserved.