Function generateMethodCall

Generates a method call message of a contracts public method. The message can be sent using for example core.MessageApi.sendMessage with messageIsText = false or core.ContractApi.callContractMethod]