Calls a "read" method on the given contract.
Last updated 1 year ago
Deployed Contract
The deployed contract.
FEmergenceContractMethod
MethodName
The method to call.
TArray<FString>
Content
The parameters to call the method with.
FJsonObjectWrapper
Response
The response.
EErrorCode
Status Code
The status code.
#include "WalletService/ReadMethod.h"
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams
FJsonObjectWrapper Response EErrorCodeStatusCode
OnReadMethodCompleted
Multicast delegate to bind to. Called when the asynchronous event has completed.
Static Function
UReadMethod*
ReadMethod(UObject * WorldContextObject, UEmergenceDeployment* DeployedContract, FEmergenceContractMethod MethodName, TArray Content)
Constructor DeployedContract(UEmergenceDeployment*): The deployed contract. MethodName (FEmergenceContractMethod): The method to call. Content (TArray<FString>): The parameters to call the method with.
DeployedContract
UEmergenceDeployment*
Function
void
Activate()
Activates the asynchronous event