Interface FlowSmartContractInvocationService.Invoker

All Superinterfaces:
ScopedInvoker<FlowInvocationScope>
All Known Implementing Classes:
FlowInvoker
Enclosing interface:
FlowSmartContractInvocationService

public static interface FlowSmartContractInvocationService.Invoker extends ScopedInvoker<FlowInvocationScope>
Used to make invocations on the Flow blockchain.
  • Method Details

    • send

      default FlowInvokeContractResponse send(String script)
      Sends a transaction to the blockchain.
      Parameters:
      script - the Cadence script to execute
      Returns:
      the return value
    • send

      FlowInvokeContractResponse send(String script, List<String> argumentTypes, List<?> arguments)
      Sends a transaction to the blockchain.
      Parameters:
      script - the Cadence script to execute
      argumentTypes - the argument types to pass to the script
      arguments - the arguments passed to the script itself
      Returns:
      the return value
    • call

      default Object call(String script)
      Calls a script on the blockchain.
      Parameters:
      script - the Cadence script to execute
      Returns:
      the return value
    • call

      Object call(String script, List<String> argumentTypes, List<?> arguments)
      Exectues a script, but does not write, to the blockchain.
      Parameters:
      script - the Cadence script to execute
      arguments - the arguments passed to the script itself
      Returns:
      the return value