public class Web3JFacade extends Object
| Constructor and Description |
|---|
Web3JFacade(org.web3j.protocol.Web3j web3j,
OutputTypeHandler outputTypeHandler) |
| Modifier and Type | Method and Description |
|---|---|
EthData |
constantCall(EthAccount account,
EthAddress address,
EthData data) |
BigInteger |
estimateGas(EthAccount sender,
EthData data) |
<T> rx.Observable<T> |
event(EthAddress address,
String eventName,
org.ethereum.core.CallTransaction.Contract contract,
Class<T> cls) |
org.web3j.protocol.core.methods.response.EthGetBalance |
getBalance(EthAddress address) |
SmartContractByteCode |
getCode(EthAddress address) |
BigInteger |
getGasPrice() |
OutputTypeHandler |
getOutputTypeHandler() |
BigInteger |
getTransactionCount(EthAddress address) |
org.web3j.protocol.core.methods.response.TransactionReceipt |
getTransactionReceipt(EthData transactionHash) |
rx.Observable<org.web3j.protocol.core.methods.response.EthBlock.TransactionObject> |
observeTransactionsFromBlock() |
EthData |
sendTransaction(EthData rawTransaction) |
public Web3JFacade(org.web3j.protocol.Web3j web3j,
OutputTypeHandler outputTypeHandler)
public EthData constantCall(EthAccount account, EthAddress address, EthData data)
public org.web3j.protocol.core.methods.response.TransactionReceipt getTransactionReceipt(EthData transactionHash)
public BigInteger getTransactionCount(EthAddress address)
public BigInteger estimateGas(EthAccount sender, EthData data)
public BigInteger getGasPrice()
public org.web3j.protocol.core.methods.response.EthGetBalance getBalance(EthAddress address)
public SmartContractByteCode getCode(EthAddress address)
public <T> rx.Observable<T> event(EthAddress address, String eventName, org.ethereum.core.CallTransaction.Contract contract, Class<T> cls)
public OutputTypeHandler getOutputTypeHandler()
public rx.Observable<org.web3j.protocol.core.methods.response.EthBlock.TransactionObject> observeTransactionsFromBlock()
Copyright © 2017. All rights reserved.