            return false;
              }

              if (transactionResponse.transaction_id) {
                resultsLabel.className = "success";
                resultsLabel.innerText = SUCCESS;
                return true;
              }
              resultsLabel.className = 'failed';
              resultsLabel.innerText = FAILED;
              return false;
            }

            const readOnlyQuery = async () => {
              return await api.transact({
                  actions: [{
       