WriteMethod
Calls a "write" method on the given contract.
Last updated
Calls a "write" method on the given contract.
Last updated
Type | Name | Description |
---|---|---|
Deployed Contract | The deployed contract. | |
EmergenceContractMethod | MethodName | The method to call. |
FString | Value | The amount to transfer from sender to recipient (in Wei, or equivelent). |
TArray<FString> | Content | The parameters to call the method with. |
FString | PrivateKey | The private key to use when calling the method. Leave blank to call with the WalletConnect'd wallet. We've left it as an exercise for the developer on how to store this private key secretly, as this will depend on project its being implemented in greatly. To use WriteMethod via a PrivateKey, you must have DotNET 7.0 runtime installed, and be using Windows! |
FString | Gas Price | The gas price to use if we're calling with a local account. |
int | Number of Confirmations | The number of confirmations to wait for before deciding this transaction "confirmed". |
float | Time Between Checks | The amount of time between checks in seconds. |
These will only be valid after OnTransactionConfirmed
Type | Description | |
---|---|---|
EmergenceTransaction | Transaction | The transaction hash. |
EErrorCode | Status Code | The status code. |