code: function getRawPendingTransactions (queryOptions) {
    return sendQuery(
      queryOptions,
      queryHelper.addQuery(
        queryHelper.emptyQuery(),
        'getPendingTransactions',
        {}
      ),
      (resolve, reject, responseName, response) => {
        if (responseName !== 'TRANSACTIONS_RESPONSE') {
          const error = JSON.stringify(response.toObject().errorResponse)
          return reject(new Error(`Query response error: expected=TRANSACTIONS_RESPONSE, actual=${responseName}\nReason: ${error}`))
        }
  
        const transactions = response.getTransactionsResponse()
        resolve(transactions)
      }
    )
  }
docs: getRawPendingTransactions
  @param {Object} queryOptions
  @link https://iroha.readthedocs.io/en/latest/api/queries.html#get-pending-transactions