code: func GetTmpTransaction(name string) (*Transaction, error) {
  	txs, err := ListTransactionsTmp()
  	if err != nil {
  		return nil, err
  	}
  
  	for _, tx := range txs {
  		if tx.Name == name {
  			return tx, nil
  		}
  	}
  
  	return nil, fmt.Errorf("Transaction not found")
  }
docs: // GetTmpTransaction gets a temporary transaction from the wallet