Class EthTransaction
- java.lang.Object
-
- org.web3j.protocol.core.Response<Transaction>
-
- org.web3j.protocol.core.methods.response.EthTransaction
-
public class EthTransaction extends Response<Transaction>
Transaction object returned by:- eth_getTransactionByHash
- eth_getTransactionByBlockHashAndIndex
- eth_getTransactionByBlockNumberAndIndex
This differs slightly from the request
EthSendTransaction
Transaction object.See docs for further details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EthTransaction.ResponseDeserialiser
-
Nested classes/interfaces inherited from class org.web3j.protocol.core.Response
Response.Error
-
-
Constructor Summary
Constructors Constructor Description EthTransaction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<Transaction>
getTransaction()
-
Methods inherited from class org.web3j.protocol.core.Response
getError, getId, getJsonrpc, getRawResponse, getResult, hasError, setError, setId, setJsonrpc, setRawResponse, setResult
-
-
-
-
Method Detail
-
getTransaction
public java.util.Optional<Transaction> getTransaction()
-
-