async callMethod(contract, instance, method, sender, apiKey, args, data) {
        try {
          const response = await this.methodPostHelper(contract, instance, method, sender,
            apiKey, args, data);
          return response.data.result.output;
        } catch (e) {
          console.warn(e);
        }
        return null;
      }
// args: the arguments for the method call
the arguments for the method call
the arguments for the method call
async callMethod(contract, instance, method, sender, apiKey, args, data) {
        try {
          const response = await this.methodPostHelper(contract, instance, method, sender,
            apiKey, args, data);
          return response.data.result.output;
        } catch (e) {
          console.warn(e);
        }
        return null;
      }
async callMethod ( contract , instance , method , sender , apiKey , args , data ) { try { const response = await this . methodPostHelper ( contract , instance , method , sender , apiKey , args , data ) ; return response . data . result . output ; } catch ( e ) { console . warn ( e ) ; } return null ; }
args: the arguments for the method call
args : the arguments for the method call