executeContract
suspend fun SmartContractService.executeContract(contract: SmartContract, block: ExecutionContextBuilder.() -> Unit): Result<ExecutionResult>
DSL form of SmartContractService.executeContract.
trustWeave.contracts.executeContract(activeContract) {
trigger {
"floodDepthCm" to 75.0
"credentialId" to floodCredential.id
}
}Content copied to clipboard