Interface EvmSmartContractInvocationService.Invoker

All Superinterfaces:
ScopedInvoker<EvmInvocationScope>
All Known Implementing Classes:
Web3jInvoker
Enclosing interface:
EvmSmartContractInvocationService

public static interface EvmSmartContractInvocationService.Invoker extends ScopedInvoker<EvmInvocationScope>
A type which performs the final invocation to the underlying smart contract.
  • Method Details

    • call

      Object call(String method, List<String> inputTypes, List<Object> arguments, List<String> outputTypes)
      Calls the smart contract method with the supplied parameter types and return types.
      Parameters:
      method - the method name
      inputTypes - the parameter types
      arguments - the parameters themselves
      outputTypes - the return types
      Returns:
      the return result of the call
    • send

      EVMInvokeContractResponse send(String method, List<String> inputTypes, List<Object> arguments, List<String> outputTypes)
      Sends a transaction to the blockchain by calling the specified smart contract method with the supplied parameter types and return types.
      Parameters:
      method - the method name
      inputTypes - the parameter types
      arguments - the parameters themselves
      outputTypes - the return types
      Returns:
      the return result of the call