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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.getelements.elements.sdk.service.blockchain.invoke.ScopedInvoker
ScopedInvoker.Factory<InvocationScopeT extends InvocationScope,
InvokerT extends ScopedInvoker<InvocationScopeT>> -
Method Summary
Modifier and TypeMethodDescriptiondefault Object
Calls a script on the blockchain.Exectues a script, but does not write, to the blockchain.default FlowInvokeContractResponse
Sends a transaction to the blockchain.Sends a transaction to the blockchain.Methods inherited from interface dev.getelements.elements.sdk.service.blockchain.invoke.ScopedInvoker
initialize
-
Method Details
-
send
Sends a transaction to the blockchain.- Parameters:
script
- the Cadence script to execute- Returns:
- the return value
-
send
Sends a transaction to the blockchain.- Parameters:
script
- the Cadence script to executeargumentTypes
- the argument types to pass to the scriptarguments
- the arguments passed to the script itself- Returns:
- the return value
-
call
Calls a script on the blockchain.- Parameters:
script
- the Cadence script to execute- Returns:
- the return value
-
call
Exectues a script, but does not write, to the blockchain.- Parameters:
script
- the Cadence script to executearguments
- the arguments passed to the script itself- Returns:
- the return value
-