code: function (web3Provider, transactionHash) {
      return new Promise(function (onResolve, onReject) {
        // number of times it will attempt to fetch
        var maxAttempts = 50;
  
        // time interval
        const timeInterval = 15000;
  
        var getReceipt = async function () {
          if (maxAttempts > 0) {
            const receipt = await web3Provider.eth.getTransactionReceipt(transactionHash);
  
            if (receipt) {
              return onResolve(responseHelper.successWithData({receipt: receipt}));
            } else {
              maxAttempts--;
              setTimeout(getReceipt, timeInterval);
            }
          } else {
            let errObj = responseHelper.error({
              internal_error_identifier: 'l_ci_h_getTransactionReceiptFromTrasactionHash',
              api_error_identifier: 'receipt_not_found',
              error_config: basicHelper.fetchErrorConfig()
            });
            return onResolve(errObj);
          }
        };
  
  
        getReceipt();
      });
    }
docs: Get transaction receipt
  
  @param {object} web3Provider - It could be value chain or utility chain provider
  @param {string} transactionHash - transaction hash
  
  @return {promise<result>}