code: func (nv *NodeView) MempoolTransactions(maxTxs int) ([]*txs.Envelope, error) {
  	var transactions []*txs.Envelope
  	for _, txBytes := range nv.tmNode.MempoolReactor().Mempool.ReapMaxTxs(maxTxs) {
  		txEnv, err := nv.txDecoder.DecodeTx(txBytes)
  		if err != nil {
  			return nil, err
  		}
  		transactions = append(transactions, txEnv)
  	}
  	return transactions, nil
  }
docs: // Pass -1 to get all available transactions