code: func AsTransactionObjects(rawTrytes []Trytes, hashes Hashes) (Transactions, error) {
  	txs := make(Transactions, len(rawTrytes))
  	var tx *Transaction
  	var err error
  	for i := range rawTrytes {
  		if hashes != nil && len(hashes) > 0 && len(hashes) > i {
  			tx, err = AsTransactionObject(rawTrytes[i], hashes[i])
  		} else {
  			tx, err = AsTransactionObject(rawTrytes[i])
  		}
  		if err != nil {
  			return nil, err
  		}
  		txs[i] = *tx
  	}
  	return txs, nil
  }
docs: // AsTransactionObjects constructs new transactions from the given raw trytes.