Package org.web3j.protocol.core
Class RemoteFunctionCall<T>
java.lang.Object
org.web3j.protocol.core.RemoteCall<T>
org.web3j.protocol.core.RemoteFunctionCall<T>
- Type Parameters:
T
- Our return type.
A wrapper for a callable function. Can also return the raw encoded function
-
Constructor Summary
ConstructorDescriptionRemoteFunctionCall
(org.web3j.abi.datatypes.Function function, Callable<T> callable) -
Method Summary
Modifier and TypeMethodDescriptionList<org.web3j.abi.datatypes.Type>
decodeFunctionResponse
(String response) decode a method responsereturn an encoded function, so it can be manually signed and transmittedMethods inherited from class org.web3j.protocol.core.RemoteCall
flowable, send, sendAsync
-
Constructor Details
-
RemoteFunctionCall
-
-
Method Details
-
encodeFunctionCall
return an encoded function, so it can be manually signed and transmitted- Returns:
- the function call, encoded.
-
decodeFunctionResponse
decode a method response- Parameters:
response
- the encoded response- Returns:
- list of abi types
-