This method asserts the presence of mandatory fields for the execution of a contract. The first argument {@link obligatory} can be used to list the obligatory field names and the second argument {@link fields} must contain the fields present in the JSON payload.
An array of obligatory field names.
An array of fields as presented and to be checked.
Generated using TypeDoc