code: func (r FutureGetRawTransactionResult) Receive() (*btcutil.Tx, error) {
  	res, err := receiveFuture(r)
  	if err != nil {
  		return nil, err
  	}
  
  	// Unmarshal result as a string.
  	var txHex string
  	err = json.Unmarshal(res, &txHex)
  	if err != nil {
  		return nil, err
  	}
  
  	// Decode the serialized transaction hex to raw bytes.
  	serializedTx, err := hex.DecodeString(txHex)
  	if err != nil {
  		return nil, err
  	}
  
  	// Deserialize the transaction and return it.
  	var msgTx wire.MsgTx
  	if err := msgTx.Deserialize(bytes.NewReader(serializedTx)); err != nil {
  		return nil, err
  	}
  	return btcutil.NewTx(&msgTx), nil
  }
docs: // Receive waits for the response promised by the future and returns a
  // transaction given its hash.