Search in sources :

Example 1 with FillTransactionResponse

use of com.quorum.gauge.ext.filltx.FillTransactionResponse in project quorum-acceptance-tests by ConsenSys.

the class RawContractService method signTransaction.

public Observable<FillTransactionResponse> signTransaction(QuorumNode from, PrivateFillTransaction tx) {
    Web3j client = connectionFactory().getConnection(from);
    Request<?, FillTransactionResponse> request = new Request<>("eth_signTransaction", Collections.singletonList(tx), connectionFactory().getWeb3jService(from), FillTransactionResponse.class);
    return request.flowable().toObservable();
}
Also used : Web3j(org.web3j.protocol.Web3j) Request(org.web3j.protocol.core.Request) FillTransactionResponse(com.quorum.gauge.ext.filltx.FillTransactionResponse)

Aggregations

FillTransactionResponse (com.quorum.gauge.ext.filltx.FillTransactionResponse)1 Web3j (org.web3j.protocol.Web3j)1 Request (org.web3j.protocol.core.Request)1